/* Admin Styles for Smart Comment Convertor */
.wrap.smarcoco-settings {
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.smarcoco-settings h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
    font-weight: 600;
}

.smarcoco-settings .form-table th {
    width: 250px;
    padding: 20px 10px 20px 0;
    font-weight: 500;
}

.smarcoco-settings .form-table td {
    padding: 15px 10px;
}

.smarcoco-settings select,
.smarcoco-settings input[type="text"] {
    min-width: 250px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
    transition: border-color 0.3s;
}

.smarcoco-settings select:focus,
.smarcoco-settings input[type="text"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 1px #3498db;
    outline: none;
}

.smarcoco-settings .description {
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

.smarcoco-settings .submit {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Meta Box Styles */
#smarcoco_comment_faq .inside {
    padding: 12px;
}

#smarcoco_comment_faq label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#smarcoco_comment_faq select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Toggle Switch */
.smarcoco-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 10px;
}

.smarcoco-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.smarcoco-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.smarcoco-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .smarcoco-slider {
    background-color: #3498db;
}

input:checked + .smarcoco-slider:before {
    transform: translateX(26px);
}

/* Tabbed Interface */
.smarcoco-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.smarcoco-tab {
    padding: 10px 20px;
    cursor: pointer;
    background: #f1f1f1;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    font-weight: 500;
}

.smarcoco-tab.active {
    background: #3498db;
    color: white;
}

.smarcoco-tab-content {
    display: none;
}

.smarcoco-tab-content.active {
    display: block;
}

/* Preview Section */
.smarcoco-preview {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
    border: 1px solid #eee;
}

.smarcoco-preview h3 {
    margin-top: 0;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 782px) {
    .smarcoco-settings .form-table th {
        width: auto;
        display: block;
        padding: 10px 0;
    }
    
    .smarcoco-settings .form-table td {
        display: block;
        padding: 0 0 15px;
    }
    
    .smarcoco-settings select,
    .smarcoco-settings input[type="text"] {
        width: 100%;
        min-width: auto;
    }
}