/**
 * EventHex WordPress Connector - Participant Types Widget Styles
 * Version: 2.0.0
 */

/* ================================
   PARTICIPANT TYPES WIDGET STYLES
================================ */

/* Base Styles */
.eventhex-participant-type-item {
    position: relative;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.eventhex-participant-type-item:hover {
    border-color: #667eea;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.eventhex-participant-type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 36px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.eventhex-participant-type-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.eventhex-participant-type-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin: 16px 0 12px 0;
    line-height: 1.3;
}

.eventhex-participant-type-description {
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
    margin-bottom: 20px;
}

.eventhex-participant-type-price {
    font-size: 32px;
    font-weight: 800;
    color: #2d3748;
    margin: 16px 0;
}

.eventhex-participant-type-price .currency {
    font-size: 20px;
    font-weight: 600;
    color: #718096;
    margin-right: 4px;
}

.eventhex-participant-type-price.free {
    color: #48bb78;
    font-size: 28px;
}

.eventhex-participant-type-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.eventhex-participant-type-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #4a5568;
    border-bottom: 1px solid #f7fafc;
}

.eventhex-participant-type-features li:last-child {
    border-bottom: none;
}

.eventhex-participant-type-features li i {
    color: #48bb78;
    margin-right: 8px;
}

.eventhex-participant-type-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.eventhex-participant-type-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

/* Featured/Highlighted Type */
.eventhex-participant-type-item.featured {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    position: relative;
}

.eventhex-participant-type-item.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

/* Pricing Table Style */
.eventhex-participant-types-design-pricing .eventhex-participant-type-price {
    font-size: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Minimal Style */
.eventhex-participant-types-design-minimal .eventhex-participant-type-item {
    border: none;
    border-left: 4px solid #667eea;
    border-radius: 0;
    text-align: left;
    padding-left: 24px;
}

.eventhex-participant-types-design-minimal .eventhex-participant-type-icon {
    margin: 0 0 20px 0;
}

.eventhex-participant-types-design-minimal .eventhex-participant-type-item:hover {
    background: #f7fafc;
    border-left-color: #764ba2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .eventhex-participant-type-item {
        padding: 24px 20px;
    }
    
    .eventhex-participant-type-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .eventhex-participant-type-name {
        font-size: 20px;
    }
    
    .eventhex-participant-type-price {
        font-size: 28px;
    }
    
    .eventhex-participant-type-button {
        width: 100%;
        text-align: center;
    }
}
