/* Additional CSS for the split-screen layout */
.split-screen {
    display: flex;
    width: 100%;
    height: 100vh; /* Full viewport height */
}

.left-pane {
    background-color: #8a2be2;
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
}

.right-pane {
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: white;
}

.sign-up {
    text-align: left;
    max-width: 300px;
}

.sign-up-button {
    background-color: white;
    color: #8a2be2;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 20px;
    font-weight: bold;
}

.sign-in {
    text-align: left;
    max-width: 300px;
}

.login-form .form-group {
    margin-bottom: 15px;
}

.login-button {
    width: 100%;
    background-color: #8a2be2;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 20px;
    font-weight: bold;
}

/* Override Bootstrap form-control styles */
.form-control {
    border-radius: 20px;
    padding: 20px;
    font-size: 14px;
}

/* Adjustments for the placeholder */
::placeholder {
    color: #b0b0b0;
    opacity: 1; /* Override Firefox's unusual default opacity */
    font-size: 14px;
}

/* You may want to add media queries to make the layout responsive */
@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
    }

    .left-pane, .right-pane {
        flex-basis: 100%;
    }
}
/* Additional CSS for the split-screen layout */
.split-screen {
    display: flex;
    width: 100%;
    height: 100vh; /* Full viewport height */
}

.left-pane {
    background-image: url('https://raw.githubusercontent.com/sefyudem/Sliding-Sign-In-Sign-Up-Form/955c6482aeeb2f0e77c1f3c66354da3bc4d7a72d/img/log.svg');
    background-size: cover;
    background-position: center;
    flex-basis: 50%;
    color: white;
    padding: 40px;
    position: relative;
}


/* Add this overlay if you want to darken the background image for better readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.sign-up {
    z-index: 2;
    position: relative;
    text-align: left;
    max-width: 300px;
}

/* ... other styles ... */

/* Adjust form input sizes */
.login-form .form-group {
    margin-bottom: 15px;
}

.login-form .form-group input {
    height: 50px; /* Larger input fields */
    font-size: 18px; /* Larger font size for text */
}

.login-button {
    height: 50px; /* Larger login button */
    font-size: 18px; /* Larger font size for button text */
}

/* ... other styles ... */

/* Responsiveness */
@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
    }

    .left-pane, .right-pane {
        flex-basis: 100%;
    }
}


/* ... existing CSS ... */

/* Button to toggle dark mode */
.theme-toggle-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #ffd700; /* Sun-like yellow color */
    border: none;
    border-radius: 30px;
    padding: 8px;
    cursor: pointer;
    z-index: 1000; /* High z-index to ensure it's above other elements */
}

/* Dark mode styles */
body.dark-mode {
    background-color: #121212; /* Dark background for the body */
}

body.dark-mode .right-pane {
    background-color: #222; /* Dark background for the right pane */
}



body.dark-mode .social-icon {
    color: #fff; /* White text for social icons */
    border: 1px solid #fff; /* White border */
}

body.dark-mode .social-icon:hover {
    background-color: #555; /* Darker background on hover */
}

body.dark-mode .form-control {
    background-color: #333; /* Dark background for form controls */
    color: #fff; /* White text for form controls */
    border-color: #444; /* Slightly lighter border for visibility */
}

body.dark-mode .sign-in h2 {
    color: white; /* Set the color of the Create Account heading to white in dark mode */
}
/* Dark mode styles for other elements as needed */
/* ... */

/* Ensure your placeholders are visible in dark mode */
body.dark-mode .form-control::placeholder {
    color: #bbb;
}

.bottom-left-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000; /* Ensure it stays on top of other elements */
}

.bottom-left-buttons .btn {
    width: 120px;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: white; /* Text color */
    background-color: #8a2be2; /* Background color */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.bottom-left-buttons .btn:hover {
    background-color: #7326b9; /* Darker purple on hover */
}

