body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            margin: 0;
            background: #e0e0e0;
            padding-top: 15vh; /* Account for both navbars */
            box-sizing: border-box;
        }

        .main-content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem 0;
        }

        .container {
            background: #e0e0e0;
            border-radius: 20px;
            box-shadow: 7px 7px 15px #bebebe, -7px -7px 15px #ffffff;
            padding: 2rem;
            width: 25vw;
            text-align: center;
            max-width: 400px;
            min-width: 320px;
        }

        .switch-buttons {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .switch-buttons button {
            width: 48%;
            padding: 0.8rem;
            border: none;
            border-radius: 10px;
            box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
            background: #e0e0e0;
            cursor: pointer;
            font-size: 1rem;
        }

        .switch-buttons button.active {
            background: #4CAF50;
            color: #fff;
        }

        .form {
            display: none;
        }

        .form.active {
            display: block;
        }

        .form h2 {
            margin-bottom: 1rem;
            color: #333;
        }

        .form input {
            width: 100%;
            padding: 0.8rem;
            margin: 0.5rem 0;
            border: none;
            border-radius: 10px;
            box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff;
            background: #e0e0e0;
            outline: none;
            font-size: 1rem;
        }

        .form button {
            width: 100%;
            padding: 0.8rem;
            margin-top: 1rem;
            border: none;
            border-radius: 10px;
            box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
            background: #4CAF50;
            color: #fff;
            font-size: 1rem;
            cursor: pointer;
        }

        .form button:hover {
            background: #45a049;
        }

        .login-options {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
        }

        .login-options button {
            width: 48%;
            padding: 0.8rem;
            border: none;
            border-radius: 10px;
            box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
            background: #e0e0e0;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .login-options button i {
            margin-right: 0.5rem;
        }

        .login-options button.google {
            color: #DB4437;
        }

        .login-options button.facebook {
            color: #4267B2;
        }

        .login-options button:hover {
            background: #dcdcdc;
        }

        .error {
            color: red;
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }
        .password-container {
        position: relative;
        width: 100%;
    }

    .password-container input {
        width: 100%;
    }

    .password-container i {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        cursor: pointer;
        color: #333;
    }

    .password-container i:hover {
        color: #4CAF50;
    }

    /* --- Responsive Design for Mobile --- */
    @media (max-width: 768px) {
        body {
            /* The global style.css now handles responsive navbar adjustments. */
            /* We only need to keep the form-specific adjustments here. */
        }

        /* --- Login Form Adjustments --- */
        .main-content {
            padding: 2rem 0; /* Restore padding since body padding is gone */
        }
        .container {
            width: 90vw;
            padding: 1.5rem;
        }
        .switch-buttons, .login-options {
            flex-direction: column;
            gap: 0.75rem;
        }
        .switch-buttons button, .login-options button {
            width: 100%;
        }
    }