/* CPT Post Title Trimmer Admin Styles */
.cptt-settings-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.cptt-settings-form {
    flex: 2;
}

.cptt-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cptt-debug-info,
.cptt-social-links {
    padding: 20px;
    background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 100%);
    border-left: 4px solid #2A7B9B;
    border-radius: 4px;
}

.cptt-debug-info h3,
.cptt-social-links h3 {
    margin-top: 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.cptt-social-links h4 {
    color: #ffffff;
    margin: 15px 0 10px 0;
    font-size: 14px;
}

.cptt-debug-info p,
.cptt-debug-info ul li {
    color: #ffffff;
}

.cptt-social-links p,
.cptt-social-links ul li {
    color: #ffffff;
    font-size: 13px;
}

.wrap h1 {
    margin-bottom: 20px;
    background: #2A7B9B;
    background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 100%);
    display: inline-flex;
    padding: 5px 10px;
    color: #fff !important;
    border: none;
    border-radius: 6px;
}

/* Style for CPT checkboxes */
.cptt-checkbox-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 15px;
    background: white;
    border-radius: 4px;
    border: 1px solid #2A7B9B;
}

.cptt-checkbox-label {
    display: block;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.cptt-checkbox-label:hover {
    background: #f0f0f1;
    border-color: #0073aa;
}

.cptt-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

/* Social Links Styling */
.cptt-social-icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cptt-social-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.cptt-social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
    color: #ffffff !important;
    text-decoration: none;
}

.cptt-social-link .dashicons {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.cptt-doc-section ul,
.cptt-support-section ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.cptt-doc-section li,
.cptt-support-section li {
    margin-bottom: 8px;
}

.cptt-doc-section a,
.cptt-support-section a {
    color: #ffffff !important;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.cptt-doc-section a:hover,
.cptt-support-section a:hover {
    color: #e1f5fe !important;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
    .cptt-settings-container {
        flex-direction: column;
    }
    
    .cptt-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .cptt-social-icons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .cptt-social-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        text-align: center;
    }
}

/* Form styling */
.cptt-settings-form table.form-table {
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-table th {
    padding: 20px !important;
}

.cptt-settings-form .submit {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}