/**
 * Techmartials Branding Overrides
 * Only targets the login task to keep the inbox standard.
 */

/* 1. Center the login box and clean up the background */
.task-login body {
    background: #f8f9fa !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* 2. Style the Login Card */
.task-login #login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: none;
}

/* 3. Fix the Logo overlap */
.task-login #logo {
    position: static !important;
    margin: 0 auto 20px auto !important;
    max-width: 140px !important;
    display: block !important;
}

/* 4. Style the "Sign In" text (H3 in Elastic) */
.task-login h3 {
    text-align: center;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

/* 5. Brand the Primary Button (Techmartials Blue) */
.task-login .btn-primary {
    background-color: #8ED1ED !important;
    border-color: #8ED1ED !important;
    color: #000000 !important; /* High contrast black text */
    font-weight: 600;
    padding: 12px !important;
    border-radius: 8px !important;
    transition: background 0.2s ease;
}

.task-login .btn-primary:hover {
    background-color: #7abed8 !important;
}

/* 6. Clean up the footer */
.task-login #login-footer {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 15px;
    font-size: 0.8rem;
    color: #999;
}

/* 7. Hide the default Elastic "Watermark" image on the side */
.task-login .login-row:after {
    display: none !important;
}