/*
 * Module tcbm — giao diện ngoài (theme btgtu).
 * Tự host hoàn toàn: CSP của site chặn mọi CDN (jsdelivr/unpkg/cdnjs) và chặn
 * IM LẶNG, nên không bao giờ nhúng tệp ngoài ở đây.
 */

.tcbm-page {
    max-width: 780px;
    margin: 24px auto;
    padding: 0 16px;
}

.tcbm-card {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}

.tcbm-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #9b1c1c;
}

.tcbm-intro {
    margin: 0 0 18px;
    color: #4b5563;
    line-height: 1.6;
}

.tcbm-box {
    border: 1px solid #e3e6ea;
    border-left-width: 4px;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: #f9fafb;
}

.tcbm-box p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.tcbm-box p:last-child {
    margin-bottom: 0;
}

.tcbm-box-info { border-left-color: #2563eb; }
.tcbm-box-success { border-left-color: #15803d; }
.tcbm-box-warning { border-left-color: #b45309; }
.tcbm-box-danger { border-left-color: #b91c1c; }

.tcbm-dl {
    margin: 12px 0 0;
}

.tcbm-dl dt {
    float: left;
    clear: left;
    width: 130px;
    color: #6b7280;
    font-weight: 500;
}

.tcbm-dl dd {
    margin: 0 0 6px 140px;
    font-weight: 600;
    color: #111827;
}

.tcbm-note {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}

.tcbm-form {
    margin-top: 6px;
}

.tcbm-field {
    margin-bottom: 14px;
}

.tcbm-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #374151;
}

.tcbm-field input[type="text"],
.tcbm-field select,
.tcbm-field textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #111827;
}

.tcbm-field input[type="text"]:focus,
.tcbm-field select:focus,
.tcbm-field textarea:focus {
    outline: none;
    border-color: #9b1c1c;
    box-shadow: 0 0 0 3px rgba(155, 28, 28, .12);
}

.tcbm-actions {
    margin-top: 18px;
}

.tcbm-btn {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid #9b1c1c;
    border-radius: 6px;
    background: #9b1c1c;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.tcbm-btn:hover,
.tcbm-btn:focus {
    background: #7f1616;
    border-color: #7f1616;
    color: #fff;
    text-decoration: none;
}

.tcbm-btn-ghost {
    background: transparent;
    color: #9b1c1c;
    margin-left: 8px;
}

.tcbm-btn-ghost:hover,
.tcbm-btn-ghost:focus {
    background: #fdf2f2;
    color: #7f1616;
}

@media (max-width: 560px) {
    .tcbm-card { padding: 18px 16px; }
    .tcbm-dl dt { float: none; width: auto; }
    .tcbm-dl dd { margin-left: 0; margin-bottom: 10px; }
}
