/* Custom Login layout targeting image_cbbeeb.jpg aesthetic */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* High-fidelity color matching for the exact blue-purple-pink gradient canvas */
    background: linear-gradient(145deg, #7176cb 0%, #635fa2 40%, #87418a 80%, #aa3a7b 100%);
    padding: 15px;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #FAFAFA;
    padding: 50px 40px;
    border-radius: 4px; /* Crisp minimal corners resembling image card */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.login-logo-area {
    text-align: center;
    margin-bottom: 35px;
}

.app-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-title {
    font-size: 24px;
    font-weight: 500;
    color: #222222;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

/* Accent mark matching the text decoration beneath "Log In" in the reference image */
.title-underline {
    width: 32px;
    height: 3px;
    background-color: #00bfa5;
    margin: 0 auto;
    border-radius: 2px;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-form label {
    display: block;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: left;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    background-color: #F0F0F0;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    outline: none;
    color: #333333;
    transition: all 0.2s ease;
}

.login-form input:focus {
    background-color: #FFFFFF;
    border-color: #00bfa5;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

/* Password eye container adjustments */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 46px !important;
}

.eye-button {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888888;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.eye-button:hover {
    color: #00bfa5;
}

.eye-icon-svg {
    width: 20px;
    height: 20px;
}

/* Form Controls Alignments */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.remember-me-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #555555 !important;
    user-select: none;
}

.remember-me-label input {
    accent-color: #00bfa5;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.modal-trigger-link, .login-card-footer a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.modal-trigger-link:hover, .login-card-footer a:hover {
    color: #00bfa5;
}

/* Vibrant primary submission button reflecting the teal/mint element */
.btn-primary-submit {
    width: 100%;
    padding: 14px;
    background-color: #00bfa5;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary-submit:hover {
    background-color: #00a68f;
}

.btn-primary-submit:active {
    transform: scale(0.99);
}

.login-card-footer {
    margin-top: 35px;
    text-align: center;
    font-size: 13px;
    color: #666666;
    border-top: 1px solid #EEEEEE;
    padding-top: 20px;
}

/* Functional Support Modal Elements */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
}

.modal-box h3 {
    margin-bottom: 12px;
    color: #222222;
}

.modal-box p {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.support-details {
    background-color: #F9FAFB;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    text-align: left;
    margin-bottom: 20px;
    font-size: 14px;
}

.support-item {
    margin-bottom: 8px;
}

.support-item:last-child {
    margin-bottom: 0;
}

.support-item a {
    color: #00bfa5;
    text-decoration: none;
    font-weight: 500;
}

.btn-close-modal {
    padding: 8px 20px;
    background-color: #333333;
    color: #FFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.btn-close-modal:hover {
    background-color: #555555;
}