/**
 * Display Modes Modern CSS
 * Pricing Table Multi Payment Gateway Bridge
 */

/* Modern Display Mode Cards */
.ptmpgb-display-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.ptmpgb-display-option {
    position: relative;
}

.ptmpgb-display-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ptmpgb-option-label {
    display: block;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ptmpgb-option-label:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.ptmpgb-display-option input[type="radio"]:checked + .ptmpgb-option-label {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.ptmpgb-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ptmpgb-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ptmpgb-display-option input[type="radio"]:checked + .ptmpgb-option-label .ptmpgb-option-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

.ptmpgb-option-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ptmpgb-option-text-wrapper {
    flex: 1;
}

.ptmpgb-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.ptmpgb-display-option input[type="radio"]:checked + .ptmpgb-option-label .ptmpgb-option-title {
    color: #1e40af;
}

/* Widget Position Grid */
.ptmpgb-widget-position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.ptmpgb-widget-position-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ptmpgb-widget-position-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.ptmpgb-widget-position-card:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.ptmpgb-widget-position-option input[type="radio"]:checked + .ptmpgb-widget-position-card {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.ptmpgb-widget-position-card .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.ptmpgb-widget-position-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Section Labels */
.ptmpgb-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.ptmpgb-section-label .dashicons {
    color: #6b7280;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ptmpgb-display-options-grid {
        grid-template-columns: 1fr;
    }
    
    .ptmpgb-widget-position-grid {
        grid-template-columns: 1fr;
    }
    
    .ptmpgb-option-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}