.dha-settings-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.settings-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.settings-section h3 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #2c3338;
    font-size: 1.3em;
}

.form-group {
    margin-bottom: 24px;
    padding-bottom: 8px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c3338;
    font-weight: 500;
}

.form-group input[type="number"] {
    width: 100%;
    max-width: 200px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    color: #2c3338;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.help-text {
    display: block;
    margin-top: 6px;
    margin-left: 26px;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.form-group input[type="number"]+.help-text {
    margin-left: 0;
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.dha-form-loading {
    position: relative;
    pointer-events: none;
}

.dha-form-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1000;
    border-radius: 8px;
}

.dha-form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2271b1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1001;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .dha-settings-container {
        padding: 15px;
    }

    .settings-section {
        padding: 15px;
    }

    .form-group input[type="number"] {
        max-width: 100%;
    }

    .help-text {
        margin-left: 0;
        margin-top: 8px;
    }
}