/**
 * Content Models Section Styles
 * List layout with icons and checkboxes
 */

/* Import Ubuntu Font */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');

/* Section Container */
.ac-spp-content-models {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Title */
.ac-spp-content-models-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Subtitle - Ubuntu Bold */
.ac-spp-content-models-subtitle {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* Models List */
.ac-spp-content-models-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* Individual Model Item */
.ac-spp-content-model-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ac-spp-content-model-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.ac-spp-content-model-item.selected {
    background: #ebf4ff;
    border-color: #6366f1;
    box-shadow: 0 0 0 1px #6366f1;
}

/* Icon Container */
.ac-spp-content-model-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    margin-right: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ac-spp-content-model-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.ac-spp-content-model-icon svg {
    width: 24px;
    height: 24px;
    color: #4a5568;
}

/* Service Name */
.ac-spp-content-model-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
}

/* Checkbox Container */
.ac-spp-content-model-checkbox {
    flex-shrink: 0;
    position: relative;
}

/* Hide Default Checkbox */
.ac-spp-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom Checkbox */
.ac-spp-checkbox-label {
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.ac-spp-checkbox-label:hover {
    border-color: #6366f1;
}

/* Checkmark (Hidden by default) */
.ac-spp-checkbox-label::after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Checked State */
.ac-spp-checkbox:checked + .ac-spp-checkbox-label {
    background: #6366f1;
    border-color: #6366f1;
}

.ac-spp-checkbox:checked + .ac-spp-checkbox-label::after {
    display: block;
}

/* Selected Services Count - Center Aligned */
.ac-spp-content-models-selected-count {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 8px;
}

.ac-spp-selected-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

.ac-spp-selected-number {
    display: inline-block;
    min-width: 24px;
    height: 24px;
    line-height: 24px;
    background: #6366f1;
    color: #ffffff;
    border-radius: 50%;
    padding: 0 8px;
    font-weight: 700;
    margin-right: 4px;
}

/* CTA Button Container - Center Aligned */
.ac-spp-content-models-cta {
    display: flex;
    justify-content: center;
    padding-top: 32px;
}

/* Ask Collab Button - Bigger Size with Drop Shadow */
.ac-spp-ask-collab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: #6366f1;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    min-width: 240px;
    letter-spacing: 0.3px;
}

.ac-spp-ask-collab-btn:hover {
    background: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
}

.ac-spp-ask-collab-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.ac-spp-ask-collab-btn:focus {
    outline: none;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4), 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ac-spp-content-models {
        padding: 24px 20px;
        margin-bottom: 20px;
    }

    .ac-spp-content-models-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .ac-spp-content-models-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .ac-spp-content-model-item {
        padding: 14px 16px;
    }

    .ac-spp-content-model-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }

    .ac-spp-content-model-icon img,
    .ac-spp-content-model-icon svg {
        width: 20px;
        height: 20px;
    }

    .ac-spp-content-model-name {
        font-size: 14px;
    }

    .ac-spp-checkbox-label {
        width: 22px;
        height: 22px;
    }

    .ac-spp-content-models-cta {
        padding-top: 24px;
    }

    .ac-spp-ask-collab-btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 32px;
        min-width: auto;
    }

    .ac-spp-selected-text {
        font-size: 14px;
    }
}
