﻿.registration-card {
    background: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.left-side {
    background: #e8f0fe;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-text {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

    .welcome-text h2 {
        font-size: 2.5rem;
        color: #1a73e8;
        line-height: 1.2;
        font-weight: 700;
    }

.illustration {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

    .illustration img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.decoration-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.right-side {
    padding: 20px;
}

.form-container {
    max-width: 400px;
    margin: 0 auto;
}

    .form-container h1 {
        text-align: center;
        font-size: 1.875rem;
        color: #111827;
        margin-bottom: 15px;
        font-weight: 700;
        position: relative;
    }


.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

    .form-group:not(:last-child) {
        margin-bottom: 10px;
    }

    .form-group label {
        display: block;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #374151;
        margin-bottom: 0.75rem;
        transition: all 0.2s ease;
    }

    .form-group input {
        width: 100%;
        padding: 12px;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.2s ease;
        color: #1f2937;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    }

    .form-group:focus-within label {
        color: #1a73e8;
    }

    .form-group input::placeholder {
        color: #9ca3af;
        opacity: 0.8;
    }

    .form-group input:hover {
        border-color: #d1d5db;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

    .form-group input:focus {
        outline: none;
        border-color: #1a73e8;
        box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
    }

.registration-card {
    margin-bottom: 30px;
}

.submit-btn {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

    .submit-btn:hover {
        background: linear-gradient(135deg, #1557b0 0%, #0a3880 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(26, 115, 232, 0.25);
    }

    .submit-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(26, 115, 232, 0.15);
    }

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
        transition: 0.5s;
    }

    .submit-btn:hover::before {
        left: 100%;
    }

/* Media Queries */
@media (max-width: 1024px) {


    .registration-card {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .signup_container {
        width: 100% !important;
        margin: 0 !important;
    }

    .form-container {
        margin: 0;
    }

    .registration-card {
        grid-template-columns: 1fr;
        border-radius: 0;
        flex: 1;
        box-shadow: none;
        gap: 0;
        display: flex;
        flex-direction: column;
    }

    .left-side {
        padding: 2rem 1.5rem;
        text-align: center;
        background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
        min-height: auto;
        color: white;
    }

    .welcome-text h2 {
        color: white;
    }

    .welcome-text {
        opacity: 0;
        animation: slideDown 0.6s ease-out forwards;
        margin-bottom: 1.5rem;
    }

        .welcome-text h2 {
            font-size: 2rem;
            line-height: 1.3;
        }

    .illustration {
        height: 200px;
        max-width: 320px;
        margin: 0 auto;
        opacity: 0;
        animation: slideUp 0.6s ease-out 0.3s forwards;
    }

    .decoration-icon {
        top: 1rem;
        right: 1rem;
    }

    .right-side {
        padding: 2rem 1.5rem;
        background: white;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .form-container {
        max-width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

        .form-container h1 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            text-align: center;
            color: #1f2937;
        }

            .form-container h1::after {
                left: 50%;
                transform: translateX(-50%);
                width: 3rem;
                background: #1a73e8;
            }

    form {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .submit-btn {
        margin-top: auto;
        padding: 1rem;
    }

    .form-group {
        opacity: 0;
        animation: fadeIn 0.5s ease-out forwards;
        margin-bottom: 1.25rem;
    }

        .form-group:nth-child(1) {
            animation-delay: 0.4s;
        }

        .form-group:nth-child(2) {
            animation-delay: 0.5s;
        }

        .form-group:nth-child(3) {
            animation-delay: 0.6s;
        }

        .form-group:nth-child(4) {
            animation-delay: 0.7s;
        }

        .form-group:nth-child(5) {
            animation-delay: 0.8s;
        }

        .form-group:nth-child(6) {
            animation-delay: 0.9s;
        }

        .form-group label {
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .form-group input {
            padding: 0.875rem;
            font-size: 1rem;
        }
}

@media (max-width: 480px) {
    .left-side {
        padding: 2rem 1rem;
    }

    .welcome-text h2 {
        font-size: 1.75rem;
    }

    .illustration {
        height: 180px;
    }

    .right-side {
        padding: 1.5rem 1rem;
    }

    .form-container h1 {
        font-size: 1.375rem;
    }

    .submit-btn {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 360px) {
    .left-side {
        padding: 1.5rem 1rem;
    }

    .welcome-text h2 {
        font-size: 1.5rem;
    }

    .illustration {
        height: 160px;
    }

    .form-group input {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.signup_container {
    width: 70%;
    margin: 10px auto 50px auto;
    min-height: 100vh;
    background-color: #83bfff;
}

.otp-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.otp-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 32px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #6b7280; /* gray-500 */
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

    .close-btn:hover {
        color: #ef4444; /* red-500 */
    }

.otp-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: bold;
    margin-bottom: 16px;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
}

.otp-input {
    width: 40px;
    height: 48px;
    text-align: center;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 6px;
    font-size: 1.125rem; /* text-lg */
}

.confirm-btn {
    width: 100%;
    background-color: #059669; /* emerald-600 */
    color: #fff;
    font-weight: 600;
    padding: 8px 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    .confirm-btn:hover {
        background-color: #047857; /* emerald-700 */
    }

.otp-timer {
    font-size: 0.875rem; /* text-sm */
    color: #4b5563; /* gray-600 */
    margin-top: 12px;
}

.otp-resend {
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* gray-500 */
    margin-top: 16px;
}

    .otp-resend a {
        color: #2563eb; /* blue-600 */
        text-decoration: none;
    }

        .otp-resend a:hover {
            text-decoration: underline;
        }

