/* Push Notifications Styles */
.push-notifications-settings {
    margin-top: 20px;
}

.push-notifications-settings .card {
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
}

.push-notifications-settings .card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

.push-notifications-settings .card-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.push-notifications-settings .card-header h5 i {
    margin-right: 8px;
    color: #007bff;
}

.push-notifications-settings .card-body {
    padding: 20px;
}

/* Стили для первой секции с переключателем */
.push-notifications-settings .row {
    margin: 0;
    align-items: center;
}

.push-notifications-settings .col-md-8 h6 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.push-notifications-settings .col-md-8 p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

/* Полностью переписанные стили для правой колонки */
.push-notifications-settings .col-md-4.text-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 15px;
}

.push-notifications-settings .col-md-4.text-end .form-check.form-switch {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.push-notifications-settings .col-md-4.text-end .form-check-input {
    margin: 0;
    order: 2;
}

.push-notifications-settings .col-md-4.text-end .form-check-label {
    order: 1;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* Стили для переключателя */
.push-notifications-settings .form-switch {
    padding-left: 2.5em;
    margin: 0;
}

.push-notifications-settings .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-left: -2.5em;
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: pointer;
}

.push-notifications-settings .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.push-notifications-settings .form-check-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

/* Разделитель */
.push-notifications-settings hr {
    margin: 20px 0;
    border-color: #e3e6f0;
}

/* Секция статуса */
.push-notifications-settings .push-status-section {
    margin-top: 20px;
}

.push-notifications-settings .d-flex {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.push-notifications-settings #push-status-text {
    font-size: 14px;
    font-weight: 500;
}

.push-notifications-settings .text-success {
    color: #28a745 !important;
}

.push-notifications-settings .text-muted {
    color: #6c757d !important;
}

/* Кнопки */
.push-notifications-settings .btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.push-notifications-settings .btn-primary {
    background-color: #007bff;
    color: white;
}

.push-notifications-settings .btn-primary:hover {
    background-color: #0056b3;
    color: white;
}

.push-notifications-settings .btn-success {
    background-color: #28a745;
    color: white;
}

.push-notifications-settings .btn-success:hover {
    background-color: #1e7e34;
    color: white;
}

/* Алерты */
.push-notifications-settings .alert {
    border-radius: 6px;
    border: none;
    padding: 12px 16px;
    margin: 15px 0;
    font-size: 14px;
}

.push-notifications-settings .alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.push-notifications-settings .alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.push-notifications-settings .alert i {
    margin-right: 8px;
}

.push-notifications-settings .alert strong {
    font-weight: 600;
}

.push-notifications-settings ul {
    padding-left: 20px;
    margin: 10px 0;
}

.push-notifications-settings li {
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 768px) {
    .push-notifications-settings .card-body {
        padding: 15px;
    }
    
    .push-notifications-settings .col-md-4 {
        text-align: left;
        margin-top: 15px;
    }
    
    .push-notifications-settings .btn-sm {
        width: 100%;
        margin-top: 10px;
    }
    
    .push-notifications-settings .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .push-notifications-settings .d-flex .btn-sm {
        margin-top: 10px;
        width: 100%;
    }
} 