/* Complaints Resolution Tracker - shared styles */

.ct-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.ct-muted {
    color: #757575;
    font-size: 12px;
}

.ct-overdue-yes {
    color: #C00000;
    font-weight: 700;
}

.ct-overdue-no {
    color: #4F8A10;
    font-weight: 600;
}

.ct-wrap .form-table th {
    width: 220px;
}

/* Admin dashboard / shortcode dashboard */
.ct-dashboard .ct-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.ct-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 18px 22px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.ct-card-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1F4E78;
}

.ct-card-label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ct-card-critical .ct-card-num { color: #C00000; }
.ct-card-high .ct-card-num { color: #d9534f; }
.ct-card-medium .ct-card-num { color: #b8860b; }
.ct-card-low .ct-card-num { color: #4F8A10; }
.ct-card-overdue { border-color: #C00000; }
.ct-card-overdue .ct-card-num { color: #C00000; }

/* Public submission form */
.ct-public-form {
    max-width: 560px;
    margin: 0 auto;
}

.ct-public-form p {
    margin-bottom: 16px;
}

.ct-public-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.ct-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.ct-button {
    background: #1F4E78;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
}

.ct-button:hover {
    background: #163c5e;
}

.ct-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.ct-notice-success {
    background: #eaf6e6;
    border: 1px solid #4F8A10;
    color: #2c5300;
}

.ct-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}
