/* Digages AI Keys - My Account Styles */

.dak-my-account {
    max-width: 900px;
}

.dak-notice {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.dak-create-key-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.dak-form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
}

.dak-form-row select,
.dak-form-row input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.dak-form-row select { min-width: 240px; }
.dak-form-row input[type="text"] { min-width: 200px; }

.dak-key-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111827;
    color: #f9fafb;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 13px;
    max-width: 600px;
    word-break: break-all;
}

.dak-key-display code {
    flex: 1;
    color: #86efac;
    background: transparent;
    font-size: 13px;
}

.dak-keys-table-wrap {
    overflow-x: auto;
}

.dak-keys-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dak-keys-table th,
.dak-keys-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.dak-keys-table thead th {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
}

.dak-keys-table tbody tr:hover {
    background: #f9fafb;
}

.dak-token-bar {
    background: #e5e7eb;
    border-radius: 100px;
    height: 6px;
    width: 120px;
    margin-bottom: 4px;
}

.dak-token-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 0.3s;
}

.dak-status-active  { color: #059669; font-weight: 600; }
.dak-status-revoked { color: #dc2626; }
.dak-status-expired { color: #d97706; }

.dak-copy-btn {
    cursor: pointer;
    white-space: nowrap;
}

#dak-create-msg.dak-success { color: #059669; }
#dak-create-msg.dak-error   { color: #dc2626; }
