﻿:root {
    --tm-forest: #2A443C;
    --tm-orange: #CA5538;
    --tm-bg: #F6F8F7;
    --tm-border: #D8E0DC;
    --tm-text: #1A2820;
    --tm-text-mid: #4F5D75;
    --tm-text-muted: #7A8A96;
}

body {
    background: var(--tm-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tm-wrap {
    width: 100%;
    max-width: 420px;
    padding: 24px;
}

.tm-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
    text-decoration: none;
}

    .tm-logo i {
        color: var(--tm-orange);
        font-size: 28px;
    }

    .tm-logo span {
        font-size: 22px;
        font-weight: 700;
        color: var(--tm-forest);
    }

.tm-card {
    background: #fff;
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    padding: 40px;
}

.tm-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tm-text);
    text-align: center;
    margin-bottom: 6px;
}

.tm-sub {
    font-size: 14px;
    color: var(--tm-text-muted);
    text-align: center;
    margin-bottom: 28px;
}

.tm-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tm-text);
    margin-bottom: 6px;
    display: block;
}

.tm-input {
    width: 100%;
    border: 1px solid var(--tm-border);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--tm-text);
    outline: none;
    box-sizing: border-box;
}

    .tm-input:focus {
        border-color: var(--tm-forest);
        box-shadow: 0 0 0 3px rgba(42,68,60,0.1);
    }

.tm-btn {
    width: 100%;
    background: var(--tm-orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .tm-btn:hover {
        background: #b84a2e;
    }

.tm-btn-outline {
    width: 100%;
    background: transparent;
    color: var(--tm-forest);
    border: 1px solid var(--tm-border);
    border-radius: 6px;
    padding: 11px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .tm-btn-outline:hover {
        border-color: var(--tm-forest);
        background: var(--tm-bg);
    }

.tm-btn-danger {
    background: #DC2626;
}

    .tm-btn-danger:hover {
        background: #b91c1c;
    }

.tm-link {
    color: var(--tm-forest);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

    .tm-link:hover {
        color: var(--tm-orange);
    }

.tm-divider {
    border: none;
    border-top: 1px solid var(--tm-border);
    margin: 20px 0;
}

.tm-footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--tm-text-muted);
}

.form-group {
    margin-bottom: 16px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .check-row input {
        accent-color: var(--tm-forest);
    }

    .check-row label {
        font-size: 13px;
        color: var(--tm-text-mid);
    }

.tm-alert {
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tm-alert-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
}

.tm-alert-success {
    background: #EAF5EE;
    border: 1px solid #C0DEC8;
    color: #2A6B3C;
}

.tm-alert-warning {
    background: #FEF3E2;
    border: 1px solid #FDE68A;
    color: #92550A;
}

.tm-alert-info {
    background: #EAF0EF;
    border: 1px solid #C0D4CC;
    color: #395756;
}

.tm-error {
    font-size: 12px;
    color: #DC2626;
    margin-top: 4px;
}
