/* Settings Card Styling - gleicher Stil wie Server Cards */
.settings-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.settings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.settings-card .card-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.settings-card .card-header h5 {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1rem;
}

.settings-card .card-body {
    padding: 1rem;
}

/* Info Table Layout - ähnlich wie Server Info Rows */
.info-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.info-label {
    color: var(--color-muted);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.info-label i {
    color: var(--color-accent);
}

.info-value {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

/* Subsection Headers */
.settings-card h6 {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Backup Buttons */
.backup-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.backup-buttons form {
    flex: 1;
    min-width: 200px;
}

.backup-buttons .btn {
    width: 100%;
}

/* Button Styling */
.settings-card .btn {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

.settings-card .btn-outline-primary {
    border-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
    background-color: transparent !important;
}

.settings-card .btn-outline-primary:hover {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.settings-card .btn-outline-primary:active,
.settings-card .btn-outline-primary:focus,
.settings-card .btn-outline-primary:focus-visible {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: white !important;
}

/* HR Styling */
.settings-card hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Alert Styling */
.alert {
    border-radius: 0.375rem;
}

/* Responsive */
@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .info-value {
        text-align: left;
    }

    .backup-buttons {
        flex-direction: column;
    }

    .backup-buttons form {
        width: 100%;
    }
}
