/* Admin Settings Page Styles */
.cct-admin-wrapper {
    margin: 20px;
}

.cct-admin-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.cct-settings-container {
    flex: 1;
    max-width: 800px;
}

.cct-admin-sidebar {
    width: 250px;
}

.cct-settings-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    border-radius: 4px;
}

/* Preview Section */
.cct-preview {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Form Elements */
.cct-settings-form .form-table {
    margin-top: 20px;
}

.cct-settings-form .form-table th {
    padding: 20px 10px 20px 0;
    width: 200px;
}

.cct-color-picker {
    width: 80px !important;
}

/* Shortcode Section */
.cct-shortcode-info {
    margin: 15px 0;
}

.cct-shortcode {
    display: inline-block;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 0 10px;
    font-family: monospace;
}

.cct-shortcode-example {
    background: #f8f9fa;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.5;
}

.cct-copy-shortcode {
    vertical-align: middle;
    margin-left: 10px !important;
}

.cct-copied-message {
    color: #28a745;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

/* Sidebar Styles */
.cct-sidebar-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    border-radius: 4px;
}

.cct-sidebar-box h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cct-sidebar-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cct-sidebar-box li {
    margin-bottom: 10px;
}

.cct-sidebar-box a {
    text-decoration: none;
    color: #0073aa;
}

.cct-sidebar-box a:hover {
    color: #00a0d2;
}

/* Help Tips */
.cct-help-tip {
    color: #666;
    font-size: 13px;
    font-style: italic;
    margin-top: 5px;
}

/* Responsive Styles */
@media screen and (max-width: 782px) {
    .cct-admin-content {
        flex-direction: column;
    }
    
    .cct-admin-sidebar {
        width: 100%;
    }

    .cct-settings-form .form-table th {
        padding: 10px 0;
        width: 100%;
    }
}

/* WordPress Color Picker Customization */
.wp-picker-container {
    position: relative;
}

.wp-picker-container .wp-color-result.button {
    margin: 0 6px 6px 0;
}

.wp-picker-container .wp-picker-input-wrap {
    margin-top: 5px;
}

/* Success/Error Messages */
.cct-notice {
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.cct-notice-success {
    background: #f0f9eb;
    border-left-color: #67c23a;
}

.cct-notice-error {
    background: #fef0f0;
    border-left-color: #f56c6c;
}

.cct-help-section {
    width: 250px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    border-radius: 4px;
}

.cct-help-section h2 {
    margin-top: 0;
}

.cct-help-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cct-help-section li {
    margin-bottom: 10px;
}

.cct-help-section a {
    text-decoration: none;
    color: #0073aa;
}

.cct-help-section a:hover {
    color: #00a0d2;
} 
.cct-help-section-container {
    padding: 10px;
    background: #f1f1f1;
    margin-bottom: 10px;
}

.cct-help-shortcode-container {
    padding: 10px;
    background: #f1f1f1;
    margin-bottom: 10px;
}   

.cct-help-advanced-shortcode-container {
    padding: 10px;
    background: #f1f1f1;
}