/* Main Wrapper */
.nelx-email-reminder-settings {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

/* Title */
.nelx-email-reminder-title {
    color: #255063;
    margin-bottom: 15px;
    font-size: 24px;
}

/* Warning Message */
.nelx-email-reminder-warning {
    color: #c32a20;
    background-color: #fff4f4;
    padding: 12px 15px;
    border-radius: 4px;
    border-left: 3px solid #c32a20;
    margin-bottom: 20px;
    font-size: 14px;
}

.nelx-email-reminder-warning i {
    margin-right: 8px;
}

/* Setting Groups */
.nelx-setting-group {
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.nelx-switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nelx-switch-label {
    font-weight: 400;
    color: #444;
    margin-right: 15px;
}

/* Switch Control */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #255063;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Disabled state for all toggle switches */
.nelx-switch-container.disabled-state {
    opacity: 0.6;
}

.nelx-switch-container.disabled-state .nelx-switch-label {
    color: #999;
}

/* Reminder Types */
.nelx-reminder-types {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

/* Messages */
.nelx-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.nelx-message.success {
    background-color: #f0fff0;
    color: #2e7d32;
    border-left: 3px solid #2e7d32;
}

.nelx-message.error {
    background-color: #fff4f4;
    color: #c32a20;
    border-left: 3px solid #c32a20;
}

/* Responsive */
@media (max-width: 480px) {
    .nelx-email-reminder-settings {
        padding: 15px;
    }
    
    .nelx-switch-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nelx-switch-label {
        margin-bottom: 8px;
    }
}