/* KH Manager Frontend Styles */
.tckh-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    /* Fallback for theme */
}

.tckh-header {
    text-align: center;
    margin-bottom: 25px;
}

.tckh-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.tckh-subtitle {
    color: #666;
    margin: 0;
    font-size: 15px;
}

.tckh-input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 15px;
}

.tckh-input-col {
    flex: 1;
    min-width: 200px;
}

.tckh-input-col label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.tckh-input-col input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.tckh-input-col input:focus {
    border-color: #00A550;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 165, 80, 0.1);
}

.tckh-actions {
    display: flex;
    gap: 10px;
}

.tckh-btn-primary {
    background: #00A550;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.tckh-btn-primary:hover {
    background: #008a43;
}

.tckh-btn-secondary {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.tckh-btn-secondary:hover {
    background: #f5f5f5;
    color: #333;
}

.tckh-recaptcha-wrapper {
    margin-bottom: 20px;
}

/* Kết quả hiển thị */
.tckh-notice {
    background: #e6f4ea;
    color: #137333;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    border: 1px solid #ceead6;
}

.tckh-error {
    background: #fce8e6;
    color: #c5221f;
    border-color: #fad2cf;
}

.tckh-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.tckh-card-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tckh-customer-name {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.tckh-customer-id {
    color: #666;
    font-size: 14px;
}

.tckh-service-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tckh-info-col {
    flex: 1;
    text-align: center;
}

.tckh-info-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.tckh-info-val {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.tckh-benefits-box {
    background: #e6f4ea;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.tckh-benefits-box strong {
    color: #137333;
    display: block;
    margin-bottom: 10px;
}

.tckh-benefits-box ul {
    margin: 0;
    padding-left: 20px;
    color: #137333;
}

.tckh-benefits-box li {
    margin-bottom: 5px;
}

.tckh-footer-id {
    color: #888;
    font-size: 13px;
}

/* Spinner */
.tckh-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 165, 80, 0.3);
    border-radius: 50%;
    border-top-color: #00A550;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .tckh-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .tckh-actions {
        width: 100%;
    }

    .tckh-btn-primary,
    .tckh-btn-secondary {
        flex: 1;
        justify-content: center;
    }

    .tckh-service-info {
        flex-direction: column;
        gap: 15px;
    }
}