/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Theme Toggle Button */
.theme-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
}

.theme-toggle button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #1877f2;
    color: white;
    font-weight: bold;
}

.theme-toggle button:hover {
    background-color: #165ec9;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Login Box */
.login-box {
    background-color: white;
    padding: 0 0 14px 0;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 8px 16px rgba(0, 0, 0, .1);
    text-align: center;
    width: 396px;
}

/* Facebook Logo */
.logo {
    color: #1877f2;
    font-family: sans-serif;
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Login Text */
.login-text {
    font-size: 19px;
    margin-bottom: 20px;
    color: #333;
}

/* Form Inputs */
form input {
    width: 330px;
    font-size: 17px;
    padding: 14px 16px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #dddfe2;
}

/* Password Container */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

/* Login Button */
form button {
    width: 365px;
    background-color: #1877f2;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    margin-top: 6px;
}

form button:hover {
    background-color: #165ec9;
}

/* Forgot */
.forgot{
    display: inline-block;
    font-size: 14px;
    color: #1877f2;
    text-decoration: none;
    margin-top: 15px;
}

.forgot:hover{
    text-decoration: underline;
}

.hr-lines {
    font-size: 12px;
    display: flex;
    color: darkgrey;
    align-items: center;
    text-align: center;
    margin: 15px 0;
}
.hr-lines::before,
.hr-lines::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dddfe2;
    margin: 10px;
}

/* Create Account Button */
.create-account {
    width: 50%;
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    background-color: #42b72a;
    color: #ffffff;
    text-decoration: none;
}

.create-account:hover {
    background: #36a420;
}

/* Error Message */
.error-message {
    color: red;
    font-size: 14px;
    display: none;
}

/* Light Mode */
.dark-mode {
    background-color: #18191a;
    color: white;
}

.dark-mode .right-section {
    background: #242526;
    color: white;
}

.dark-mode .login-box input {
    background: #3a3b3c;
    color: white;
    border: 1px solid #555;
}

.dark-mode .toggle-password {
    color: white;
}

.dark-mode .theme-toggle button {
    background-color: #242526;
    color: white;
}

.dark-mode .login-box a {
    color: #42b72a;
}



















