/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f1f3f6;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Login Button */
.login-btn {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #fb641b;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 50px;
    border-radius: 5px;
}

.login-btn:hover {
    background-color: #e56012;
}

/* General Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Increased margin to shift everything lower */
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    display: flex;
    flex-direction: row;
    height: 600px; /* Increased height */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Left Side (Promo) */
.modal-left {
    flex: 1;
    padding: 20px;
    background-color: #2874f0;
    color: white;
    text-align: left; /* Align text to the left */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-container {
    margin-bottom: auto;
}

.modal-left h2 {
    color: white;
    font-size: 24px; /* Increased font size */
    margin-bottom: 10px; /* Added margin */
}

.modal-left p {
    color: white;
    font-size: 18px; /* Increased font size */
    margin-top: 0; /* Reduced margin */
}

.image-container {
    align-self: center;
    margin-top: auto;
}

.modal-left .promo-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px; /* Position image just above the bottom */
}

/* Right Side (Form) */
.modal-right {
    flex: 1;
    padding: 40px 20px 20px; /* Increased top padding */
    position: relative;
}

.modal-right form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Added gap between items */
}

.modal-right input {
    margin-bottom: 15px; /* Increased margin */
    padding: 10px;
    font-size: 16px;
}

.password-container {
    position: relative;
}

.password-container input {
    width: calc(100% - 40px);
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.modal-right .login-btn,
.modal-right .create-account-btn,
.modal-right .reset-password-btn {
    padding: 15px; /* Increased padding */
    font-size: 16px;
    background-color: #2874f0;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px; /* Added margin between form and button */
}

.modal-right .login-btn:hover,
.modal-right .create-account-btn:hover,
.modal-right .reset-password-btn:hover {
    background-color: #0056b3;
}

.terms-text {
    font-size: 12px;
    color: #555;
    margin-bottom: 15px; /* Increased margin */
}

.new-user,
.forgot-password {
    font-size: 14px;
    color: #2874f0;
    text-align: center;
    margin-bottom: 15px; /* Increased margin */
}

.new-user a,
.forgot-password a {
    color: #2874f0;
    text-decoration: none;
}

.new-user a:hover,
.forgot-password a:hover {
    text-decoration: underline;
}
