
    :root {
        --primary: #6366f1;
        --primary-dark: #4f46e5;
        --secondary: #f43f5e;
        --dark: #1e293b;
        --light: #f8fafc;
        --gray: #94a3b8;
        --gray-light: #e2e8f0;
    }

    /* Main container styling */
    .login-container {
        max-width: 440px;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    /* Card styling */
    .login-card {
        border: none;
        border-radius: 16px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        background: white;
        position: relative;
        z-index: 1;
    }

    /* Card header */
    .card-header {
        background: white;
        color: var(--dark);
        font-size: 1.75rem;
        font-weight: 700;
        text-align: center;
        padding: 2rem 2rem 1rem;
        border-bottom: none;
        position: relative;
    }

    .card-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 2px;
    }

    /* Card body */
    .card-body {
        padding: 2rem;
        background-color: white;
    }

    /* Form group styling */
    .form-group {
        margin-bottom: 1.75rem;
        position: relative;
    }

    /* Form labels */
    label {
        display: block;
        margin-bottom: 0.75rem;
        font-weight: 600;
        color: var(--dark);
        font-size: 0.95rem;
    }

    /* Form inputs */
    .form-control {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border: 1px solid var(--gray-light);
        border-radius: 10px;
        background-color: white;
        transition: all 0.3s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
        outline: none;
    }

    /* Input icons */
    .input-icon {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
    }

    /* Remember me checkbox */
    .form-check {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .form-check-input {
        width: 1.2em;
        height: 1.2em;
        margin-right: 0.75rem;
        border: 1px solid var(--gray-light);
        border-radius: 4px;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
    }

    .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .form-check-input:checked::after {
        content: '✓';
        position: absolute;
        color: white;
        font-size: 0.8em;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .form-check-label {
        color: var(--dark);
        font-size: 0.95rem;
        cursor: pointer;
    }

    /* Login button */
    .btn-login {
        width: 100%;
        padding: 1rem;
        font-size: 1.05rem;
        font-weight: 600;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border: none;
        border-radius: 10px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 0.5rem;
        box-shadow: 0 4px 6px rgba(99, 102, 241, 0.15);
    }

    .btn-login:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        box-shadow: 0 6px 12px rgba(99, 102, 241, 0.25);
        transform: translateY(-1px);
    }

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

    /* Register button */
    .btn-register {
        width: 100%;
        padding: 1rem;
        font-size: 1.05rem;
        font-weight: 600;
        background: white;
        border: 1px solid var(--gray-light);
        border-radius: 10px;
        color: var(--dark);
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
    }

    .btn-register:hover {
        background: var(--light);
        border-color: var(--gray);
        transform: translateY(-1px);
    }

    /* Error messages */
    .invalid-feedback {
        display: block;
        margin-top: 0.5rem;
        color: var(--secondary);
        font-size: 0.85rem;
        font-weight: 500;
    }

    .is-invalid {
        border-color: var(--secondary) !important;
    }

    /* Divider */
    .divider {
        display: flex;
        align-items: center;
        margin: 1.5rem 0;
        color: var(--gray);
        font-size: 0.85rem;
    }

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--gray-light);
    }

    .divider::before {
        margin-right: 1rem;
    }

    .divider::after {
        margin-left: 1rem;
    }

    /* Social login */
    .social-login {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .social-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border: 1px solid var(--gray-light);
        color: var(--dark);
        transition: all 0.3s ease;
    }

    .social-btn:hover {
        background: var(--light);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Forgot password link */
    .forgot-password {
        text-align: right;
        margin-top: -0.75rem;
        margin-bottom: 1.5rem;
    }

    .forgot-password a {
        color: var(--gray);
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .forgot-password a:hover {
        color: var(--primary);
    }

    /* Decorative elements */
    .shape {
        position: absolute;
        z-index: -1;
        opacity: 0.1;
    }

    .shape-1 {
        top: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        background: var(--primary);
        animation: float 8s ease-in-out infinite;
    }

    .shape-2 {
        bottom: -80px;
        right: -60px;
        width: 300px;
        height: 300px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        background: var(--secondary);
        animation: float 10s ease-in-out infinite;
    }

    @keyframes float {
        0% {
            transform: translateY(0) rotate(0deg);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }
        50% {
            transform: translateY(-20px) rotate(5deg);
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        }
        100% {
            transform: translateY(0) rotate(0deg);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }
    }

    /* Responsive adjustments */
    @media (max-width: 576px) {
        .login-container {
            padding: 0 1rem;
            margin: 1rem auto;
        }
        
        .card-body {
            padding: 1.75rem;
        }
        
        .card-header {
            padding: 1.5rem 1.5rem 1rem;
            font-size: 1.5rem;
        }
    }


     /* Main container styling */
    .registration-container {
        max-width: 480px;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    /* Card styling */
    .registration-card {
        border: none;
        border-radius: 16px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        background: white;
        position: relative;
        z-index: 1;
    }

    /* Card header */
    .card-header {
        background: white;
        color: var(--dark);
        font-size: 1.75rem;
        font-weight: 700;
        text-align: center;
        padding: 2rem 2rem 1rem;
        border-bottom: none;
        position: relative;
    }

    .card-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 2px;
    }

    /* Card body */
    .card-body {
        padding: 2rem;
        background-color: white;
    }

    /* Form group styling */
    .form-group {
        margin-bottom: 1.75rem;
        position: relative;
    }

    /* Form labels */
    .form-label {
        display: block;
        margin-bottom: 0.75rem;
        font-weight: 600;
        color: var(--dark);
        font-size: 0.95rem;
    }

    /* Form inputs */
    .form-control {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border: 1px solid var(--gray-light);
        border-radius: 10px;
        background-color: white;
        transition: all 0.3s ease;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
        outline: none;
    }

    /* Input icons */
    .input-icon {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--gray);
    }

    /* Register button */
    .btn-register {
        width: 100%;
        padding: 1rem;
        font-size: 1.05rem;
        font-weight: 600;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border: none;
        border-radius: 10px;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        box-shadow: 0 4px 6px rgba(99, 102, 241, 0.15);
    }

    .btn-register:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        box-shadow: 0 6px 12px rgba(99, 102, 241, 0.25);
        transform: translateY(-1px);
    }

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

    /* Error messages */
    .invalid-feedback {
        display: block;
        margin-top: 0.5rem;
        color: var(--secondary);
        font-size: 0.85rem;
        font-weight: 500;
    }

    .is-invalid {
        border-color: var(--secondary) !important;
    }

    /* Login link */
    .login-link {
        text-align: center;
        margin-top: 1.5rem;
        color: var(--gray);
    }

    .login-link a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .login-link a:hover {
        text-decoration: underline;
    }

    /* Password strength indicator */
    .password-strength {
        height: 4px;
        background: var(--gray-light);
        border-radius: 2px;
        margin-top: 0.5rem;
        overflow: hidden;
    }

    .strength-meter {
        height: 100%;
        width: 0;
        background: var(--secondary);
        transition: all 0.3s ease;
    }

    /* Terms checkbox */
    .form-check {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .form-check-input {
        width: 1.2em;
        height: 1.2em;
        margin-right: 0.75rem;
        margin-top: 0.2em;
        border: 1px solid var(--gray-light);
        border-radius: 4px;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
    }

    .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .form-check-input:checked::after {
        content: '✓';
        position: absolute;
        color: white;
        font-size: 0.8em;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .form-check-label {
        color: var(--dark);
        font-size: 0.9rem;
        cursor: pointer;
        line-height: 1.4;
    }

    .form-check-label a {
        color: var(--primary);
        text-decoration: none;
    }

    .form-check-label a:hover {
        text-decoration: underline;
    }

    /* Decorative elements */
    .shape {
        position: absolute;
        z-index: -1;
        opacity: 0.1;
    }

    .shape-1 {
        top: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        background: var(--primary);
        animation: float 8s ease-in-out infinite;
    }

    .shape-2 {
        bottom: -80px;
        right: -60px;
        width: 300px;
        height: 300px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        background: var(--secondary);
        animation: float 10s ease-in-out infinite;
    }

    @keyframes float {
        0% {
            transform: translateY(0) rotate(0deg);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }
        50% {
            transform: translateY(-20px) rotate(5deg);
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        }
        100% {
            transform: translateY(0) rotate(0deg);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }
    }

    /* Responsive adjustments */
    @media (max-width: 576px) {
        .registration-container {
            padding: 0 1rem;
            margin: 1rem auto;
        }
        
        .card-body {
            padding: 1.75rem;
        }
        
        .card-header {
            padding: 1.5rem 1.5rem 1rem;
            font-size: 1.5rem;
        }
    }