        :root {
            --primary-color: #4361ee;
            --secondary-color: #3f37c9;
            --success-color: #4cc9f0;
            --text-color: #333;
            --bg-color: #f8f9fa;
            --card-bg: #ffffff;
            --input-bg: #f1f3f5;
            --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            --border-radius: 12px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            height: 100%;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            min-height: 100%;
            position: relative;
            padding-bottom: 20px; /* Space at the bottom */
        }

      

        /* Login container positioning */
        .page-content {
            padding-top: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: calc(100vh - 100px); /* Adjust based on navbar */
            width: 100%;
        }

        .container {
            background: var(--card-bg);
            padding: 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            width: 100%;
            max-width: 450px;
            margin: 0 auto;
        }

        .tabs {
            display: flex;
            justify-content: space-around;
            margin-bottom: 30px;
            position: relative;
        }

        .tab {
            cursor: pointer;
            padding: 12px 0;
            width: 45%;
            text-align: center;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .tab.active {
            color: #fff;
        }

        .tabs::after {
            content: '';
            position: absolute;
            width: 45%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 8px;
            left: 0;
            top: 0;
            z-index: 0;
            transition: all 0.3s ease;
        }

        .tabs.slide-right::after {
            left: 55%;
        }

        .form-container {
            display: none;
            animation: fadeIn 0.5s;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .form-container.active {
            display: block;
        }

        .form-title {
            text-align: center;
            margin-bottom: 25px;
            color: var(--primary-color);
            font-size: 1.8rem;
        }

        .input-group {
            position: relative;
            margin-bottom: 25px;
        }

        .input-group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #adb5bd;
        }

        form {
            display: flex;
            flex-direction: column;
        }

        input {
            width: 100%;
            padding: 15px 15px 15px 45px;
            border: none;
            background-color: var(--input-bg);
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s;
        }

        input:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--primary-color);
        }

        label {
            font-size: 14px;
            margin-bottom: 8px;
            display: block;
            color: #6c757d;
        }

        button {
            padding: 15px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            color: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.3s;
            margin-top: 10px;
            box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
        }

        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
        }

        .message {
            margin-top: 20px;
            padding: 12px;
            text-align: center;
            border-radius: 8px;
            display: none;
            font-weight: 500;
        }

        .message.success {
            background-color: rgba(76, 201, 240, 0.2);
            color: #155724;
            border-left: 4px solid var(--success-color);
        }

        .message.error {
            background-color: rgba(235, 83, 83, 0.2);
            color: #721c24;
            border-left: 4px solid #eb5353;
        }

        .forgot-link {
            text-align: center;
            margin-top: 25px;
            cursor: pointer;
            color: var(--primary-color);
            font-weight: 500;
            transition: all 0.3s;
        }

        .forgot-link:hover {
            text-decoration: underline;
        }

        /* Responsive adjustments */
        @media (max-width: 576px) {
            .container {
                padding: 20px;
                margin: 0 0px;
                max-width: 100%;
            }

            .form-title {
                font-size: 1.5rem;
            }

            input, button {
                padding: 12px;
                font-size: 14px;
            }

            .tab {
                padding: 10px 0;
                font-size: 14px;
            }
            
            .page-content {
                padding-top: 20px;
            }
        }

       

        /* Animation effects */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .input-error {
            animation: shake 0.5s;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }