/* --- auth.css --- */

.tp-auth-page { 
    display: flex; 
    flex-grow: 1;
    min-height: 600px; 
    align-items: stretch; 
    background: #fff; 
    margin-top: -80px; 
    padding-top: 80px; 
}

/* Levá polovina s obrázkem */
.tp-auth-image { 
    flex: 1; 
    background: url('../images/hero-bg.png') center/cover no-repeat; 
    position: relative; 
    display: flex; 
    align-items: flex-end; 
    padding: 60px; 
    color: #fff; 
}

.tp-auth-image::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2)); 
}

.tp-auth-quote { 
    position: relative; 
    z-index: 1; 
    max-width: 500px; 
}

.tp-auth-quote h2 { 
    font-size: 2.8rem; 
    margin-bottom: 15px; 
    color: #fff; 
}

.tp-auth-quote p { 
    font-size: 1.15rem; 
    opacity: 0.9; 
    line-height: 1.6; 
}

/* Pravá polovina s formulářem */
.tp-auth-content { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
    background: #f8f9fa; 
}

/* Kompaktnější karta formuláře */
.tp-auth-card { 
    width: 100%; 
    max-width: 420px; 
    background: #fff; 
    padding: 35px 40px; 
    border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
}

/* Menší mezery v hlavičce a formuláři */
.tp-auth-header { 
    margin-bottom: 20px; 
    text-align: center; 
}

.tp-auth-header h1 { 
    margin: 0 0 5px 0; 
    font-size: 2rem; 
    color: var(--dark-olive); 
}

.tp-auth-header p { 
    margin: 0; 
    color: #718096; 
    font-size: 1rem; 
}

.tp-auth-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.tp-input-group { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    text-align: left; 
}

.tp-input-group label { 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: #4a5568; 
}

/* Užší políčka pro text */
.tp-input-group input { 
    width: 100%; 
    padding: 12px 15px; 
    border: 1px solid #edf2f7; 
    border-radius: 8px; 
    background: #fafbfc; 
    font-family: inherit; 
    font-size: 0.95rem; 
    color: var(--charcoal); 
    transition: 0.3s; 
    box-sizing: border-box; 
}

.tp-input-group input:focus { 
    outline: none; 
    border-color: var(--mustard); 
    background: #fff; 
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.1); 
}

.tp-auth-options { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 0.9rem; 
    margin-bottom: 5px; 
}

.tp-auth-options label { 
    color: #4a5568; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    cursor: pointer; 
}

.tp-auth-options a { 
    color: var(--mustard); 
    text-decoration: none; 
    font-weight: 600; 
    transition: 0.2s; 
}

.tp-auth-options a:hover { 
    color: #e5a500; 
    text-decoration: underline; 
}

/* Checkbox podmínky */
.tp-terms-wrap {
    margin-top: 5px;
}

.tp-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-size: 0.92rem;
    line-height: 1.5;
    color: #4a5568;

    cursor: pointer;
    text-align: left;
}

.tp-terms-label input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.tp-terms-label span {
    display: inline;
}

.tp-terms-label a {
    color: var(--mustard);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.tp-terms-label a:hover {
    color: #e5a500;
    text-decoration: underline;
}

/* Menší tlačítko a patička */
.tp-btn-full { 
    width: 100%; 
    padding: 12px; 
    font-size: 1.05rem; 
    margin-top: 5px; 
    border-radius: 8px; 
    display: block; 
    text-align: center; 
    border: none; 
    cursor: pointer; 
}

.tp-auth-footer { 
    margin-top: 20px; 
    text-align: center; 
    font-size: 0.9rem; 
    color: #718096; 
}

.tp-auth-footer a { 
    color: var(--mustard); 
    font-weight: 600; 
    text-decoration: none; 
    transition: 0.2s; 
}

.tp-auth-footer a:hover { 
    text-decoration: underline; 
}

/* Responzivita pro mobily */
@media (max-width: 991px) {

    .tp-auth-page { 
        flex-direction: column; 
        display: block; 
        margin-top: 0; 
        padding-top: 0; 
        height: auto; 
        min-height: 100vh; 
        max-height: none; 
    }

    .tp-auth-image { 
        display: none;
    }

    .tp-auth-content { 
        padding: 20px; 
        min-height: 100vh; 
    }

    .tp-auth-card { 
        padding: 30px; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
        border: 1px solid #edf2f7; 
    }

    .tp-terms-label {
        font-size: 0.9rem;
    }
}