/**
 * ProPlayerFC Real Icons
 * Real icons for games and platforms - Local implementation
 */

/* Local Icons - No external dependencies */

/* Game Icons */
.proplayerfc-icon-ea-fc {
    background-image: url('../image/eafclogo.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* EA FC 26 specific styling */
.proplayerfc-icon-ea-fc-26 {
    background-image: url('../image/eafclogo.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid #e74c3c;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* EA FC 26 hover effect */
.proplayerfc-multiselect-item:hover .proplayerfc-icon-ea-fc-26 {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    border-color: #c0392b;
}

/* EA FC 26 selected state */
.proplayerfc-multiselect-item.selected .proplayerfc-icon-ea-fc-26 {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5);
    border-color: #c0392b;
    background-color: rgba(231, 76, 60, 0.05);
}

/* Platform Icons - Custom implementations */
.proplayerfc-icon-pc {
    background: linear-gradient(135deg, #0078d4 0%, #00bcf2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
}

.proplayerfc-icon-pc::before {
    content: "PC";
    font-size: 14px;
    font-weight: bold;
}

.proplayerfc-icon-xbox {
    background: linear-gradient(135deg, #107c10 0%, #83ba01 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

.proplayerfc-icon-xbox::before {
    content: "XBOX";
    font-size: 12px;
    font-weight: bold;
}

.proplayerfc-icon-ps4 {
    background: linear-gradient(135deg, #003791 0%, #0093d0 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

.proplayerfc-icon-ps4::before {
    content: "PS4";
    font-size: 14px;
    font-weight: bold;
}

.proplayerfc-icon-ps5 {
    background: linear-gradient(135deg, #003791 0%, #0093d0 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

.proplayerfc-icon-ps5::before {
    content: "PS5";
    font-size: 14px;
    font-weight: bold;
}

.proplayerfc-icon-xbox-series {
    background: linear-gradient(135deg, #107c10 0%, #83ba01 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
}

.proplayerfc-icon-xbox-series::before {
    content: "X/S";
    font-size: 12px;
    font-weight: bold;
}

/* Icon container styling */
.proplayerfc-multiselect-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 16px;
}

.proplayerfc-multiselect-icon.proplayerfc-icon-ea-fc {
    background: transparent;
}

/* Platform specific colors */
.proplayerfc-multiselect-icon.proplayerfc-icon-pc {
    background: linear-gradient(135deg, #0078d4 0%, #00bcf2 100%) !important;
    color: white;
}

.proplayerfc-multiselect-icon.proplayerfc-icon-xbox {
    background: linear-gradient(135deg, #107c10 0%, #83ba01 100%) !important;
    color: white;
}

.proplayerfc-multiselect-icon.proplayerfc-icon-ps4 {
    background: linear-gradient(135deg, #003791 0%, #0093d0 100%) !important;
    color: white;
}

.proplayerfc-multiselect-icon.proplayerfc-icon-ps5 {
    background: linear-gradient(135deg, #003791 0%, #0093d0 100%) !important;
    color: white;
}

.proplayerfc-multiselect-icon.proplayerfc-icon-xbox-series {
    background: linear-gradient(135deg, #107c10 0%, #83ba01 100%) !important;
    color: white;
}

/* Hover effects */
.proplayerfc-multiselect-item:hover .proplayerfc-multiselect-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Selected state */
.proplayerfc-multiselect-item.selected .proplayerfc-multiselect-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .proplayerfc-multiselect-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .proplayerfc-icon-ea-fc {
        width: 40px;
        height: 40px;
    }
    
    .proplayerfc-icon-pc::before,
    .proplayerfc-icon-xbox::before,
    .proplayerfc-icon-ps4::before,
    .proplayerfc-icon-ps5::before,
    .proplayerfc-icon-xbox-series::before {
        font-size: 10px;
    }
}

/* Gaming Icons */
.proplayerfc-icon-gaming {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proplayerfc-icon-gaming::before {
    content: "\f11b"; /* Font Awesome gamepad icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Custom icon styles for multiselect cards */
.proplayerfc-multiselect-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.proplayerfc-multiselect-item.selected .proplayerfc-multiselect-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hover effects */
.proplayerfc-multiselect-item:hover .proplayerfc-multiselect-icon {
    transform: scale(1.1) rotate(5deg);
}

.proplayerfc-multiselect-item.selected:hover .proplayerfc-multiselect-icon {
    transform: scale(1.05) rotate(0deg);
}

/* Responsive icon sizes */
@media (max-width: 768px) {
    .proplayerfc-multiselect-icon {
        font-size: 28px;
        width: 44px;
        height: 44px;
    }
    
    .proplayerfc-icon-ea-fc::before,
    .proplayerfc-icon-playstation-4::before,
    .proplayerfc-icon-playstation-5::before,
    .proplayerfc-icon-xbox-series::before {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .proplayerfc-multiselect-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .proplayerfc-icon-ea-fc::before,
    .proplayerfc-icon-playstation-4::before,
    .proplayerfc-icon-playstation-5::before,
    .proplayerfc-icon-xbox-series::before {
        font-size: 10px;
    }
}
