﻿body {
}
.forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    margin-bottom: 14px;
}

.btn-link-forgot {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

    .btn-link-forgot:hover {
        text-decoration: underline;
        color: #1d4ed8;
    }

.ok-msg {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    font-weight: 500;
}

.ticket-security-note {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.no-save-hint {
    margin-top: 10px;
    font-size: 0.76rem;
    color: #64748b;
    text-align: center;
}

.sec-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.sec-modal {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid #e2e8f0;
    max-height: 92vh;
    overflow-y: auto;
}

.sec-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.sec-badge-warn {
    background: #fef3c7;
    color: #b45309;
}

.sec-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.sec-desc {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.45;
    margin: 6px 0 16px 0;
}

.sec-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #475569;
    cursor: pointer;
    font-size: 0.95rem;
}

    .sec-close:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

.sec-box-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: #1e293b;
}

.sec-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sec-select, .sec-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
}

    .sec-select:focus, .sec-textarea:focus {
        outline: none;
        border-color: #2563eb;
    }

.btn-sec-secondary {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    margin-top: 8px;
    font-family: inherit;
}

    .btn-sec-secondary:hover {
        background: #f8fafc;
        border-color: #94a3b8;
    }

.otp-input {
    letter-spacing: 6px;
    font-size: 1.25rem !important;
    font-weight: 700;
    text-align: center;
}

.hidden-panel {
    display: none !important;
}

.btn-login[disabled],
.btn-sec-secondary[disabled] {
    opacity: 0.75;
    cursor: not-allowed;
}