/* =============================================
   SETTINGS PAGE STYLES
   Rounded white card with inputs, warning banners, and action footer
   ============================================= */

.settings-page-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

/* ---- Page Header ---- */
.settings-page-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-page-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.settings-page-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}

/* ---- Card Wrapper ---- */
.settings-card {
    background-color: #ffffff;
    border: 1px solid #d9e0e7;
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

/* ---- Field Group ---- */
.settings-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.settings-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.settings-required {
    color: #ef4444;
    font-weight: bold;
}

.settings-input {
    width: 340px;
    max-width: 100%;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.settings-input:focus {
    outline: none;
    border-color: var(--primary-color, #ff0000);
}

/* ---- Footer Row ---- */
.settings-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
}

/* Warning Note */
.settings-warning-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #fffbeb; /* Light amber background */
    border: 1px solid #fef3c7; /* Light amber border */
    border-radius: 6px;
    color: #d97706; /* Dark amber text */
    font-size: 12px;
    font-weight: 500;
    box-sizing: border-box;
}

.settings-warning-note svg {
    width: 16px;
    height: 16px;
    stroke: #d97706;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Action Buttons */
.settings-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-cancel-btn {
    height: 36px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.settings-cancel-btn:hover {
    background-color: #f9fafb;
}

.settings-save-btn {
    height: 36px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.settings-save-btn:hover {
    opacity: 0.9;
}
