
/* Estilos para o conteúdo da página de configurações gerais */
.general-config-content {
    flex: 1;
    padding: 2rem;
    background-color: #f5f7fa;
    min-height: 100%;
    animation: fadeIn 0.3s ease;
}

.general-config-content-header {
    margin-bottom: 2rem;
}

.general-config-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.general-config-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 2px;
}

.general-config-section-description {
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 600px;
}

.general-config-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr));
    gap: 1.5rem;
}

.general-config-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.general-config-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.general-config-card-header {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.general-config-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.general-config-card-icon.appearance {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.2);
}

.general-config-card-icon.notifications {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2);
}

.general-config-card-icon.localization {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.general-config-card-title {
    flex: 1;
}

.general-config-card-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.general-config-card-title p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.general-config-card-content {
    padding: 1.5rem;
}

.general-config-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: flex-end;
    background-color: #f9fafb;
}

/* Formulários */
.general-config-form-group {
    margin-bottom: 1.25rem;
}

.general-config-form-group:last-child {
    margin-bottom: 0;
}

.general-config-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.general-config-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.general-config-input,
.general-config-select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #111827;
    background-color: #fff;
    transition: all 0.2s ease;
}

.general-config-input:focus,
.general-config-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.general-config-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
}

/* Botões */
.general-config-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 38px;
}

.general-config-button-primary {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.general-config-button-primary:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.4);
}

/* Seletor de tema */
.general-config-theme-selector {
    display: flex;
    gap: 1.25rem;
}

.general-config-theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.general-config-theme-option:hover {
    transform: translateY(-2px);
}

.general-config-theme-preview {
    width: 64px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.general-config-theme-light {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.general-config-theme-dark {
    background-color: #1f2937;
}

.general-config-theme-system {
    background: linear-gradient(to right, #f9fafb 50%, #1f2937 50%);
}

.general-config-theme-selected .general-config-theme-preview {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.general-config-theme-option span {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
}

.general-config-theme-selected span {
    color: #3b82f6;
    font-weight: 600;
}

/* Grupo de radio buttons */
.general-config-radio-group {
    display: flex;
    gap: 1.5rem;
}

.general-config-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.general-config-radio input {
    accent-color: #3b82f6;
    width: 16px;
    height: 16px;
}

.general-config-radio span {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Toggle switches */
.general-config-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.general-config-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.general-config-toggle-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.general-config-toggle-info {
    display: flex;
    flex-direction: column;
}

.general-config-toggle-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.general-config-toggle-description {
    font-size: 0.75rem;
    color: #6b7280;
}

.general-config-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.general-config-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.general-config-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 24px;
}

.general-config-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.general-config-toggle input:checked+.general-config-toggle-slider {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.general-config-toggle input:checked+.general-config-toggle-slider:before {
    transform: translateX(20px);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .general-config-content {
        padding: 1.5rem 1rem;
    }

    .general-config-card-grid {
        grid-template-columns: 1fr;
    }

    .general-config-form-row {
        grid-template-columns: 1fr;
    }

    .general-config-theme-selector {
        flex-wrap: wrap;
        justify-content: center;
    }
}
