/**
 * PCM List Builder Styles
 * استایل‌های لیست‌های حرفه‌ای
 */

/* استایل پایه */
.pcm-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.pcm-list li {
    padding: 12px 15px 12px 45px;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Style 1: Checklist */
.pcm-list-style-checklist li {
    background: #f0f9ff;
    border-left: 3px solid #10b981;
    border-radius: 5px;
}

.pcm-list-style-checklist li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.pcm-list-style-checklist li:hover {
    background: #dbeafe;
    transform: translateX(5px);
}

/* Style 2: Icon Star */
.pcm-list-style-icon-star li {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 5px;
}

.pcm-list-style-icon-star li::before {
    content: '★';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #f59e0b;
    font-size: 20px;
}

/* Style 3: Icon Arrow */
.pcm-list-style-icon-arrow li {
    background: #f3f4f6;
    border-left: 3px solid #6366f1;
    border-radius: 5px;
}

.pcm-list-style-icon-arrow li::before {
    content: '➤';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
    font-size: 18px;
}

/* Style 4: Icon Check Circle */
.pcm-list-style-icon-check-circle li {
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    border-radius: 5px;
}

.pcm-list-style-icon-check-circle li::before {
    content: '✔';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #22c55e;
    border-radius: 50%;
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Style 5: Numbered Elegant */
.pcm-list-style-numbered-elegant {
    counter-reset: elegant-counter;
}

.pcm-list-style-numbered-elegant li {
    counter-increment: elegant-counter;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pcm-list-style-numbered-elegant li::before {
    content: counter(elegant-counter);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.pcm-list-style-numbered-elegant li:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

/* Style 6: Colorful */
.pcm-list-style-colorful li {
    border-radius: 8px;
    font-weight: 500;
}

.pcm-list-style-colorful li:nth-child(6n+1) {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.pcm-list-style-colorful li:nth-child(6n+2) {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
}

.pcm-list-style-colorful li:nth-child(6n+3) {
    background: #d1fae5;
    border-left: 4px solid #10b981;
}

.pcm-list-style-colorful li:nth-child(6n+4) {
    background: #fce7f3;
    border-left: 4px solid #ec4899;
}

.pcm-list-style-colorful li:nth-child(6n+5) {
    background: #e0e7ff;
    border-left: 4px solid #6366f1;
}

.pcm-list-style-colorful li:nth-child(6n+6) {
    background: #fed7aa;
    border-left: 4px solid #f97316;
}

.pcm-list-style-colorful li::before {
    content: '•';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
}

/* Style 7: Card Style */
.pcm-list-style-card-style li {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 20px 20px 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
}

.pcm-list-style-card-style li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.pcm-list-style-card-style li:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Multi-column layouts */
.pcm-list-columns-2 {
    column-count: 2;
    column-gap: 20px;
}

.pcm-list-columns-3 {
    column-count: 3;
    column-gap: 20px;
}

.pcm-list-columns-2 li,
.pcm-list-columns-3 li {
    break-inside: avoid;
    page-break-inside: avoid;
}

/* Responsive */
@media (max-width: 992px) {
    .pcm-list-columns-3 {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .pcm-list-columns-2,
    .pcm-list-columns-3 {
        column-count: 1;
    }
    
    .pcm-list li {
        padding: 10px 15px 10px 40px;
        font-size: 0.95em;
    }
    
    .pcm-list-style-card-style li {
        padding: 15px 15px 15px 50px;
    }
}