  :root {
            
            --dark-bg: #2c3e50;
            --translucent-white: rgba(255, 255, 255, 0.15);
            --text-color-light: #fff;
            --text-color-medium: rgba(255, 255, 255, 0.7);
            --border-color: rgba(255, 255, 255, 0.3);
            --error-red: #ff5252;
            --success-green: #4CAF50;
           /*  padding-top:50px;Added for success messages */
        }

        body {
            display: flex;
            flex-direction: column;
           /*  min-height: 100vh; */
            /* Adjust padding-top based on your header's actual height to avoid overlap */
          /*   padding-top: 120px; Adjusted to a more common header height */
            color: var(--text-color-light);
         /*    background-color: var(--dark-bg); */
            position: relative;
            overflow-x: hidden; /* Prevents horizontal scroll */
            background-color:black;
            
            
        }

        /* Background image with black shadow overlay */
         .background-image {
            background-image: url('img/85342.jpg');
            /* background: linear-gradient(to right, #ab7442, #99683b, #885c34, #77512e, #664527); */
            background-size: cover;
            background-position: center;
            position: fixed; /* Use fixed to ensure it covers the whole viewport */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        Adding black shadow overlay
        .background-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6); /* Black shadow with transparency */
            z-index: -1; /* Keep this behind the image */
        }

        .main-content {
            flex-grow: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1; /* Make sure this content is above the background */
            padding-bottom: 100px; /* Space for the footer */
            padding-top: 80px; /* Add some top padding for content */
             background-color:black;
        
           
        }
        

        .containe {
            background: var(--translucent-white);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            width: 100%;
            max-width: 450px;
            overflow: hidden; /* Ensures content respects border-radius */
            z-index: 1; /* Ensure the form container stays above the background */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            margin: 0 15px; /* Add horizontal margin for smaller screens */
        }

        /* Tab styling */
        .tabs {
            display: flex;
            background: rgba(0, 0, 0, 0.3);
        }

        .tab {
            flex: 1;
            text-align: center;
            padding: 15px; /* Slightly reduced padding */
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            color: var(--text-color-light);
            font-size: 1.1em;
        }

        .tab.active {
            color: var(--light-blue);
            background: rgba(0, 0, 0, 0.4);
        }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background:#FF589E;
        }

        /* Form container padding */
        .form-container {
            padding: 30px; /* Reduced padding */
        }

        .form {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .form.active {
            display: block;
        }

        /* Input group styling */
        .input-group {
            margin-bottom: 20px;
            position: relative;
        }

        .input-group input {
            width: 100%;
            padding: 12px 12px 12px 40px; /* Left padding for icon */
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color-light);
            transition: all 0.3s ease;
        }

        .input-group input::placeholder {
            color: var(--text-color-medium);
        }

        .input-group input:focus {
            border-color: var(--light-blue);
            box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
            outline: none;
            background: rgba(255, 255, 255, 0.2);
        }

        .input-group i {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-color-medium);
            pointer-events: none; /* Allows clicks to pass through to input */
        }

        /* Button styling */
        .btn {
            
            padding: 12px;
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            
            
        }

        .btn:hover {
            transform: translateY(-3px);
           
        }

        /* Switch form links */
        .switch-form {
            text-align: center;
            margin-top: 18px;
            color: var(--text-color-medium);
            font-size: 14px;
        }

        .switch-form a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
        }

        .switch-form a:hover {
            text-decoration: underline;
        }

        /* Error message styling */
        .error {
            color: var(--error-red);
            font-size: 13px;
            margin-top: 4px;
            display: none; /* Hidden by default */
        }
        .input-group.error .error { /* Show error when input-group has 'error' class */
            display: block;
        }
        .input-group.error input { /* Highlight input with error */
            border-color: var(--error-red);
        }

        /* Success message styling */
        .success-message {
            color: var(--success-green);
            font-size: 13px;
            margin-top: 4px;
            display: none; /* Hidden by default */
            text-align: center;
            margin-bottom: 15px;
            font-weight: 600;
        }
        /* Make visible when content is present and not explicitly hidden */
        .success-message:not(:empty) {
            display: block;
        }

        /* Forgot password link */
        .forgot-password {
            text-align: right;
            margin-top: -15px;
            margin-bottom: 15px;
        }

        .forgot-password a {
            color: white;
            font-size: 13px;
            text-decoration: none;
            transition: text-decoration 0.3s ease;
        }

        .forgot-password a:hover {
            text-decoration: underline;
        }

        /* Keyframe for form fade-in animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            body {
                padding-top: 30px; /* Adjust for smaller header on mobile */
            }
            .tab {
                padding: 12px;
                font-size: 1em;
            }
            .form-container {
                padding: 25px;
            }
            .input-group {
                margin-bottom: 15px; /* Reduce margin */
            }
            .input-group input {
                padding: 10px 10px 10px 35px; /* Adjust padding for smaller screens */
                font-size: 13px;
            }
            .input-group i {
                left: 10px;
                font-size: 0.9em;
            }
            .btn {
                padding: 10px;
                font-size: 14px;
            }
            .forgot-password {
                margin-top: -10px;
                margin-bottom: 10px;
            }
        }

        @media (max-width: 480px) {
            .main-content {
                padding: 150px 0; /* Only vertical padding */
            }
            .containe {
                margin: 0 10px; /* Tighter horizontal margin */
            }
            .form-container {
                padding: 20px;
            }
            .tab {
                padding: 10px;
            }
        }