/* tt-login.css — TT-branded login page served at /talking-time.
 *
 * Scoped under .tt-login so none of these styles leak into the LINGO area
 * or the authenticated TT dashboard (.tt-area). All modal / button / input
 * styles are defined locally so this file is self-contained and does not
 * depend on index.html's global .btn / .form-group rules.
 *
 * Feature: talking-time-module spec, Task 5.7.
 * Requirements 3.6, 3.7, 3.8, 5.1, 5.2, 5.3.
 */

.tt-login {
    min-height: 100vh;
    background: linear-gradient(180deg, #F4F9FC 0%, #E8F0F7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1rem;
    font-family: 'Nunito', 'Quicksand', sans-serif;
    color: #7E4A8C;
    box-sizing: border-box;
}

.tt-login__header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 640px;
    width: 100%;
}

.tt-login__logo {
    max-width: 240px;
    height: auto;
    margin-bottom: 1rem;
}

.tt-login__tagline {
    color: #F28C7C;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.tt-login__co-developers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0 0;
}

.tt-login__co-developer-logo {
    height: 48px;
    width: auto;
}

.tt-login__form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 4px 16px rgba(31, 58, 92, 0.08);
    box-sizing: border-box;
}

.tt-login__form-title {
    color: #7E4A8C;
    text-align: center;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.tt-login__field {
    margin-bottom: 1.25rem;
}

.tt-login__label {
    display: block;
    font-weight: 600;
    color: #7E4A8C;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.tt-login__input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #C8DDE8;
    border-radius: 6px;
    font-size: 1rem;
    color: #7E4A8C;
    box-sizing: border-box;
    height: 48px;
    background: #FFFFFF;
    font-family: inherit;
}

.tt-login__input:focus {
    outline: none;
    border-color: #03A696;
    box-shadow: 0 0 0 3px rgba(127, 179, 213, 0.2);
}

.tt-login__input:disabled {
    background: #F4F7FA;
    color: #8AA3BA;
    cursor: not-allowed;
}

.tt-login__btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #03A696 0%, #7E4A8C 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.tt-login__btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 134, 183, 0.3);
}

.tt-login__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.tt-login__link {
    color: #7E4A8C;
    text-decoration: none;
    font-size: 0.9rem;
}

.tt-login__link:hover {
    text-decoration: underline;
}

.tt-login__forgot-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

.tt-login__alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tt-login__alert--error {
    background: #FCE4E4;
    color: #8B2A2A;
    border: 1px solid #F5B8B8;
}

.tt-login__alert--success {
    background: #E4F0E4;
    color: #2A5E2A;
    border: 1px solid #B8D8B8;
}

.tt-login__no-tt-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(31, 58, 92, 0.08);
    box-sizing: border-box;
}

.tt-login__no-tt-card h2 {
    color: #7E4A8C;
    margin: 0 0 1rem 0;
    font-size: 1.35rem;
}

.tt-login__no-tt-card p {
    color: #5C7793;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}
