/* admin-style.css */

.splutter-wrap {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
}

.splutter-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.splutter-logo {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.splutter-header h1 {
    font-size: 28px;
    margin: 0;
    color: #23282d;
}

.splutter-form {
    display: flex;
    flex-direction: column;
}

.splutter-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.splutter-field {
    flex: 1 1 calc(50% - 20px);
    display: flex;
    flex-direction: column;
}

.splutter-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #23282d;
}

.splutter-field input[type="text"],
.splutter-field input[type="number"],
.splutter-field select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background: #fff;
    color: #32373c;
}

.splutter-field input[type="text"]:focus,
.splutter-field input[type="number"]:focus,
.splutter-field select:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
    outline: none;
}

@media (max-width: 600px) {
    .splutter-field {
        flex: 1 1 100%;
    }
}

/* Loader Styles */
.splutter-save-button.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.splutter-save-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -12px 0 0 -12px;
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: splutter-spin 1s linear infinite;
}

@keyframes splutter-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
