.sibrox {
    max-width: 900px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.sibrox h1 {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
}

.sibro-logo-header {
    margin-right: 12px;
}

.sibro-settings-form {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin-bottom: 20px;
}

.sibro-settings-section {
    padding: 24px;
    border-bottom: 1px solid #f0f0f1;
}

.sibro-settings-section:last-child {
    border-bottom: none;
}

.sibro-settings-section h2 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    padding: 0;
}

.sibro-settings-section h2:before {
    display: none;
}

.form-table {
    margin-top: 0;
}

.form-table th {
    width: 200px;
    padding: 20px 20px 20px 0;
    font-weight: 500;
    color: #1d2327;
}

.form-table td {
    padding: 15px 0;
}

/* Input Styling */
.sibrox .regular-text,
.sibrox .small-text,
.sibrox select {
    border: 1px solid #8c8f94;
    border-radius: 4px;
    padding: 0 8px;
    line-height: 2;
    min-height: 30px;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow .1s linear;
}

.sibrox .regular-text:focus,
.sibrox .small-text:focus,
.sibrox select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

.sibrox .regular-text {
    width: 100%;
    max-width: 400px;
}

/* Checkbox Styling */
.sibrox input[type="checkbox"] {
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
    color: #2271b1;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    height: 16px;
    margin: -4px 4px 0 0;
    outline: 0;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    width: 16px;
    min-width: 16px;
    transition: .1s border-color ease-in-out;
    box-shadow: none;
}

.sibrox input[type="checkbox"]:checked {
    background: #2271b1;
    border-color: #2271b1;
}

.sibrox input[type="checkbox"]:checked:before {
    content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E");
    margin: -3px 0 0 -4px;
    height: 24px;
    width: 24px;
}

/* Description Styling */
.sibrox .description {
    color: #646970;
    font-size: 13px;
    font-style: normal;
    margin-top: 4px;
}

/* Submit Button */
#sibro-save-settings {
    margin: 20px 20px !important;
}

/* API Test Section */
.sibro-api-test {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 24px;
    margin-top: 20px;
}

.sibro-api-test h2 {
    margin-top: 0;
    font-size: 18px;
    color: #1d2327;
}

.sibro-api-test p {
    color: #646970;
    margin: 10px 0 20px;
}

#sibro-test-api-settings {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sibro-result-message {
    margin-top: 15px;
    padding: 12px;
    border-left: 4px solid transparent;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.sibro-result-message.success {
    border-left-color: #46b450;
    background: #edfaef;
}

.sibro-result-message.error {
    border-left-color: #dc3232;
    background: #fbeaea;
}

/* Loading Animation */
.rotating {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
