/* Agent Settings Page */
.page-content { padding: 20px; }
.container { max-width: 960px; margin: 0 auto; }

.success-message {
    background: #2ed573;
    color: #000;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Feature toggle rows */
.feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}
.feature-row:last-child { border-bottom: none; }

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: #333;
    border-radius: 26px;
    transition: 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px; width: 20px;
    left: 3px; bottom: 3px;
    background: #eee;
    border-radius: 50%;
    transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: #00d4ff; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* Data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.data-table th, .data-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #333;
}
.data-table th {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.data-table tr:hover { background: rgba(0,212,255,0.05); }

/* Small buttons in table */
.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.modal-content {
    position: relative;
    background: #16213e;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-content h3 {
    color: #00d4ff;
    margin-bottom: 16px;
}
.modal-content textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #0f0f23;
    color: #eee;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}
.modal-content textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

/* Confirm delete dialog */
.confirm-dialog {
    max-width: 420px;
    text-align: left;
}
.confirm-dialog h3 {
    color: #ff4757;
}
.confirm-message {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}
