/* Base container */
.gaming-profile-container {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.gaming-profile-container:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header with platform information */
.platform-header {
    display: flex;
    align-items: center;
    padding: 15px;
    color: white;
    font-weight: 700;
    position: relative;
}

/* Platform Icon */
.platform-icon {
    font-size: 22px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    position: relative;
    z-index: 2;
}

/* Platform Name */
.platform-name {
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 800;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    flex-grow: 1;
}

/* Action buttons */
.platform-actions {
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn {
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    border: 1px solid;
}

.edit-btn {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.edit-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.delete-btn {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.delete-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* DetailView styling */
.gaming-detail-view {
    margin-bottom: 0;
    background: transparent;
}

.gaming-detail-view th {
    width: 40%;
    background-color: #f5f5f5 !important;
    color: #555555;
    border-color: #e0e0e0 !important;
    font-weight: 600;
    padding: 10px 12px;
}

.gaming-detail-view td {
    background-color: #ffffff !important;
    color: #333333;
    border-color: #e0e0e0 !important;
    padding: 10px 12px;
}

.gaming-detail-view .gamertag-value {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 15px;
    color: #0070d1;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.gaming-detail-view .visibility-value {
    color: #666666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

/* Platform-specific styling */
[data-platform="playstation"] .platform-header { background-color: #0070d1; }
[data-platform="xbox"] .platform-header { background-color: #107C10; }
[data-platform="nintendo"] .platform-header { background-color: #e60012; }
[data-platform="steam"] .platform-header { background-color: #171a21; }
[data-platform="epicgames"] .platform-header { background-color: #2a2a2a; }
[data-platform="battlenet"] .platform-header { background-color: #00aeff; }
[data-platform="origin"] .platform-header { background-color: #f56c2d; }
[data-platform="ubisoft"] .platform-header { background-color: #0b8fff; }
[data-platform="riot"] .platform-header { background-color: #d13639; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .col-md-4 {
        width: 50%;
        float: left;
    }
}

@media (max-width: 767px) {
    .col-md-4 {
        width: 100%;
        float: none;
    }
    
    .platform-header {
        flex-wrap: wrap;
    }
    
    .platform-actions {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-end;
    }
}

/* Fix for row clearfix */
.row:before,
.row:after {
    content: " ";
    display: table;
}
.row:after {
    clear: both;
}