/* ---------------------------------------------------------
   DTC API MANAGER – USER DASHBOARD STYLES
   --------------------------------------------------------- */

#dtc-dashboard {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    font-family: Arial, sans-serif;
}

/* Headings */
#dtc-dashboard h2 {
    margin-bottom: 20px;
    font-size: 28px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 6px;
}

#dtc-dashboard h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Cards */
.dtc-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 18px;
    border-radius: 6px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Table */
.dtc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dtc-table th {
    background: #f4f4f4;
    padding: 10px 8px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-weight: bold;
}

.dtc-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.dtc-table tr:hover td {
    background: #f9f9f9;
}

/* Buttons */
.dtc-button-primary {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.dtc-button-primary:hover {
    background: #005f8d;
}

.dtc-button-small {
    padding: 4px 8px;
    font-size: 12px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.dtc-button-small:hover {
    background: #e2e2e2;
}

.dtc-button-danger {
    background: #d9534f !important;
    color: #fff !important;
}

.dtc-button-danger:hover {
    background: #c9302c !important;
}

/* Key masking */
.dtc-key-masked {
    font-family: monospace;
    letter-spacing: 2px;
}

.dtc-key-full {
    font-family: monospace;
    word-break: break-all;
}

/* Inputs */
.dtc-ip-input {
    width: 160px;
    padding: 4px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Logs Table */
#dtc-logs-table td code {
    background: #f4f4f4;
    padding: 2px 5px;
    border-radius: 3px;
}

#dtc-logs-table tbody tr td {
    font-size: 13px;
}

/* Alerts */
.dtc-alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.dtc-alert-error {
    background: #ffeaea;
    border-left: 4px solid #d9534f;
    color: #b30000;
}

.dtc-alert-success {
    background: #e7f7e7;
    border-left: 4px solid #46b450;
    color: #256f00;
}

.dtc-alert-warning {
    background: #fff5d9;
    border-left: 4px solid #ffb400;
    color: #805a00;
}
.dtc-table th{
    color: #333 !important;
}