/* squad.css - Solo Tipster Squad & Pitch Styles */

.global-breadcrumb-wrapper { 
    display: none !important; 
}

.squad-main-container {
    max-width: 920px;
    width: 100%;
    margin: 15px auto 40px auto;
    padding: 0 12px;
    box-sizing: border-box;
}

.bg-earth { 
    background-color: #795548 !important; 
}

.pos-title-badge {
    font-size: 8px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid #000000 !important;
    padding: 2px 5px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CTA & Step Badges */
.cta-step-label { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    font-size: 10.5px; 
    font-weight: 700; 
    margin-bottom: 4px; 
    text-transform: uppercase; 
    letter-spacing: 0.3px; 
}

.cta-badge { 
    padding: 2px 7px; 
    border-radius: 4px; 
    font-size: 9.5px; 
    font-weight: 800; 
    display: inline-block; 
    transition: all 0.3s ease; 
}

.cta-badge-active-green { 
    background-color: #10b981; 
    color: #ffffff; 
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); 
    animation: ctaPulseGreen 1.5s infinite ease-in-out; 
}

.cta-badge-active-orange { 
    background-color: #f59e0b; 
    color: #000000; 
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); 
    animation: ctaPulseOrange 1.5s infinite ease-in-out; 
}

.cta-badge-completed { 
    background-color: #e2e8f0; 
    color: #475569; 
}

.cta-badge-disabled { 
    background-color: #f1f5f9; 
    color: #94a3b8; 
}

.select-active-green { 
    border: 2px solid #10b981 !important; 
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.25) !important; 
}

.select-active-orange { 
    border: 2px solid #f59e0b !important; 
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.25) !important; 
}

@keyframes ctaPulseGreen {
    0%, 100% { transform: scale(1); box-shadow: 0 0 4px rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.04); box-shadow: 0 0 12px rgba(16, 185, 129, 0.85); }
}

@keyframes ctaPulseOrange {
    0%, 100% { transform: scale(1); box-shadow: 0 0 4px rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.04); box-shadow: 0 0 12px rgba(245, 158, 11, 0.85); }
}

/* Pitch / Field Layout */
.football-pitch {
    background: linear-gradient(to bottom, #2e7d32, #1b5e20);
    border: 2px solid #ffffff;
    border-radius: 8px;
    min-height: 540px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 4px;
    box-sizing: border-box;
}

.pitch-line-center { 
    position: absolute; 
    top: 50%; 
    left: 0; 
    width: 100%; 
    height: 2px; 
    background: rgba(255, 255, 255, 0.3); 
    pointer-events: none; 
}

.pitch-circle-center { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 65px; 
    height: 65px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-radius: 50%; 
    pointer-events: none; 
}

.pitch-box-top { 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 120px; 
    height: 40px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-top: none; 
    pointer-events: none; 
}

.pitch-box-bottom { 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 120px; 
    height: 40px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-bottom: none; 
    pointer-events: none; 
}

.pitch-row { 
    z-index: 2; 
    display: flex; 
    align-items: flex-start; 
    width: 100%; 
    margin-bottom: 2px; 
}

.pitch-row-spread { 
    justify-content: space-between !important; 
    padding: 0 2px; 
}

.pitch-row-center { 
    justify-content: center !important; 
}

/* Player Cards & Slots */
.pitch-slot-container {
    flex: 1 1 0;
    max-width: 32.5%;
    min-width: 0;
}

.player-card-badge {
    background: rgba(0, 0, 0, 0.35) !important;
    color: #fff;
    border-radius: 5px;
    padding: 2px 4px;
    width: 100%;
    max-width: 130px;
    box-sizing: border-box;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.pitch-player-card:hover {
    background: rgba(0, 0, 0, 0.75) !important;
    transform: scale(1.03);
}

.player-name { 
    font-size: 10.5px; 
    font-weight: bold; 
}

.player-meta { 
    font-size: 9px; 
}

.rating-badge { 
    font-weight: bold; 
    font-size: 9px; 
    padding: 1px 3px; 
    border-radius: 3px; 
    text-shadow: none; 
}

/* Micro Flag Badges */
.micro-flag-tr {
    background-color: #e30a17; 
    color: #ffffff; 
    font-size: 7.5px; 
    font-weight: 800;
    padding: 0px 3px; 
    border-radius: 3px; 
    display: inline-block; 
    vertical-align: middle;
    margin-right: 2px; 
    border: 1px solid rgba(255,255,255,0.5); 
    line-height: 1.2;
}

.micro-flag-world { 
    font-size: 10px; 
    vertical-align: middle; 
    margin-right: 2px; 
}

/* Navigation & Tabs */
.nav-pills .nav-link { 
    color: #cbd5e1; 
    border-radius: 6px; 
    padding: 5px 6px; 
    font-size: 10.5px; 
}

.nav-pills .nav-link.active { 
    background-color: #0d6efd; 
    color: #fff; 
}

/* 🚀 MOBİL İÇİN SAHAYA DÖNÜŞ BUTONU */
.back-to-pitch-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    background-color: #0284c7;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: none; /* Varsayılan olarak gizli */
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-pitch-btn:hover {
    background-color: #0369a1;
    color: #ffffff;
    transform: translateY(-2px);
}