@font-face {
    font-family: "Manrope";
    src: url("/assets/font/Manrope-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/font/Manrope-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/font/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/font/Manrope-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/font/Manrope-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/font/Manrope-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/font/Manrope-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

* {
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
    background: rgba(59, 130, 246, 0.15);
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
    background: rgba(99, 102, 241, 0.1);
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s;
    background: rgba(147, 197, 253, 0.2);
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s;
    background: rgba(99, 102, 241, 0.08);
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 70%;
    animation-duration: 6s;
    animation-delay: 1s;
    background: rgba(59, 130, 246, 0.12);
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 80%;
    animation-duration: 8s;
    animation-delay: 3s;
    background: rgba(147, 197, 253, 0.15);
}

.bubble:nth-child(7) {
    width: 25px;
    height: 25px;
    left: 90%;
    animation-duration: 9s;
    animation-delay: 2s;
    background: rgba(99, 102, 241, 0.1);
}

.login-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(229, 231, 235, 0.8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.login-left {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right {
    background: #432ba8;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
}

.login-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    z-index: 1;
}

.right-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: #1f2937;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: #9ca3af;
}

.login-btn {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.login-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:active {
    transform: translateY(0);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    background: #fef2f2;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    border-left: 3px solid #ef4444;
}

.error-message::before {
    content: "⚠️";
    margin-right: 0.5rem;
}

.footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    line-height: 1.4;
}

.login-bg-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 24px 24px 0;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 70%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 30%;
    right: 20%;
    width: 30px;
    height: 30px;
    background: white;
    transform: rotate(45deg);
    animation-delay: 4s;
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .login-right {
        display: none;
    }

    .login-left {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .login-container {
        max-width: 350px;
        border-radius: 20px;
    }

    .login-left {
        padding: 1.5rem 1.2rem;
    }

    .login-title {
        font-size: 1.4rem;
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #3b82f6, #6366f1);
    border-radius: 30px;
    animation: float1 6s ease-in-out infinite;
}

.shape-2 {
    top: 70%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    animation: float2 8s ease-in-out infinite;
}

.shape-3 {
    top: 30%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    transform: rotate(45deg);
    animation: float3 7s ease-in-out infinite;
}
