/* Airsoft Teams - Modern Frontend Styles */

/* ===== TEMA OVERRIDE - TAM GENİŞLİK ===== */
/* Airsoft takımları sayfası için tema genişlik sınırlamalarını kaldır */
.page-template-default .content-area,
.single-airsoft_team .content-area,
body.page .content-area {
    width: 100% !important;
    float: none !important;
    max-width: none !important;
}

/* Sidebar'ı airsoft sayfalarında gizle */
.page-template-default .sidebar,
.single-airsoft_team .sidebar,
body.page .sidebar {
    display: none !important;
}

/* Container'ları tam genişlik yap */
.at-teams-list-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Site content wrapper'ı da tam genişlik yap */
.site-content {
    width: 100% !important;
    max-width: none !important;
}

/* Primary content area */
.content-area .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Daha spesifik tema override'ları */
@media (min-width: 1025px) {
    /* Ana content area'yı tam genişlik yap */
    body.page .content-area,
    body.single-airsoft_team .content-area,
    .page-template-default .content-area {
        width: 100% !important;
        float: none !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Site main container */
    body.page .site-main,
    body.single-airsoft_team .site-main,
    .page-template-default .site-main {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Wrapper container'lar */
    body.page .site-content,
    body.single-airsoft_team .site-content,
    .page-template-default .site-content {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Airsoft teams wrapper'ı */
    .at-teams-list-wrapper {
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
}

/* Tüm ekran boyutları için genel override */
body.page .at-teams-list-wrapper,
body.single-airsoft_team .at-teams-list-wrapper {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* ===== GENEL RESET VE TEMEL STİLLER ===== */
.at-teams-list-wrapper * {
    box-sizing: border-box;
}

.at-teams-list-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #505050;
}

.at-teams-list-wrapper .at-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-teams-hero {
    background: linear-gradient(135deg, #8E8B5E 0%, #7F7D54 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.at-teams-list-wrapper .at-teams-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.at-teams-list-wrapper .at-hero-content {
    position: relative;
    z-index: 2;
}

.at-teams-list-wrapper .at-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(223, 182, 42, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(223, 182, 42, 0.3);
}

.at-teams-list-wrapper .at-badge-icon {
    font-size: 16px;
}

.at-teams-list-wrapper .at-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.at-teams-list-wrapper .at-hero-description {
    font-size: 1.2rem;
    margin: 0 0 40px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.at-teams-list-wrapper .at-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.at-teams-list-wrapper .at-stat-item {
    text-align: center;
}

.at-teams-list-wrapper .at-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: #DFB62A;
}

.at-teams-list-wrapper .at-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.at-teams-list-wrapper .at-stat-divider {
    font-size: 1.5rem;
    opacity: 0.5;
    color: #DFB62A;
}

.at-teams-list-wrapper .at-create-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(223, 182, 42, 0.15);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(223, 182, 42, 0.3);
    backdrop-filter: blur(10px);
}

.at-teams-list-wrapper .at-create-team-btn:hover {
    background: rgba(223, 182, 42, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
    border-color: rgba(223, 182, 42, 0.5);
}

.at-teams-list-wrapper .at-btn-arrow {
    transition: transform 0.3s ease;
}

.at-teams-list-wrapper .at-create-team-btn:hover .at-btn-arrow {
    transform: translateX(5px);
}

/* ===== FİLTRELER SEKSİYONU - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-filters-section {
    background: #F5F5F5;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.at-teams-list-wrapper .at-filters-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(142, 139, 94, 0.08);
    border: 1px solid #e9ecef;
}

.at-teams-list-wrapper .at-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.at-teams-list-wrapper .at-filters-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #505050;
    margin: 0;
}

.at-teams-list-wrapper .at-filter-icon {
    font-size: 1.3rem;
    color: #8E8B5E;
}

.at-teams-list-wrapper .at-view-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
}

.at-teams-list-wrapper .at-view-label {
    font-weight: 500;
    color: #6c757d;
}

.at-teams-list-wrapper .at-toggle-buttons {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #e9ecef;
}

.at-teams-list-wrapper .at-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 14px;
}

.at-teams-list-wrapper .at-toggle-btn:hover {
    color: #495057;
    text-decoration: none;
}

.at-teams-list-wrapper .at-toggle-btn.active {
    background: #8E8B5E;
    color: white;
    box-shadow: 0 2px 4px rgba(142, 139, 94, 0.3);
}

.at-teams-list-wrapper .at-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.at-teams-list-wrapper .at-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.at-teams-list-wrapper .at-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    margin-bottom: auto;
}

.at-teams-list-wrapper .at-label-icon {
    font-size: 16px;
    color: #8E8B5E;
}

.at-teams-list-wrapper .at-filter-select,
.at-teams-list-wrapper .at-filter-input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
    height: 48px;
    box-sizing: border-box;
}

.at-teams-list-wrapper .at-filter-select:focus,
.at-teams-list-wrapper .at-filter-input:focus {
    outline: none;
    border-color: #8E8B5E;
    box-shadow: 0 0 0 3px rgba(142, 139, 94, 0.1);
}

.at-teams-list-wrapper .at-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.at-teams-list-wrapper .at-filter-actions .at-filter-label {
    visibility: hidden;
    height: 0;
    margin: 0;
}

.at-teams-list-wrapper .at-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 14px;
    height: 48px;
    box-sizing: border-box;
    white-space: nowrap;
    min-width: 120px;
}

.at-teams-list-wrapper .at-btn-primary {
    background: #8E8B5E;
    color: white;
}

.at-teams-list-wrapper .at-btn-primary:hover {
    background: #7F7D54;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(142, 139, 94, 0.3);
}

.at-teams-list-wrapper .at-clear-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.at-teams-list-wrapper .at-clear-btn:hover {
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
}

/* ===== İÇERİK SEKSİYONU - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-teams-content {
    padding: 40px 0;
}

.at-teams-list-wrapper .at-results-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.at-teams-list-wrapper .at-results-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #495057;
}

.at-teams-list-wrapper .at-results-icon {
    font-size: 18px;
    color: #8E8B5E;
}

.at-teams-list-wrapper .at-filter-applied {
    background: #e3f2fd;
    color: #8E8B5E;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.at-teams-list-wrapper .at-page-info {
    color: #6c757d;
    font-size: 14px;
}

/* ===== TAKIM KARTLARI - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-teams-container {
    display: grid;
    gap: 25px;
}

.at-teams-list-wrapper .at-teams-container.at-view-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.at-teams-list-wrapper .at-teams-container.at-view-list {
    grid-template-columns: 1fr;
}

.at-teams-list-wrapper .at-team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(142, 139, 94, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.at-teams-list-wrapper .at-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(142, 139, 94, 0.15);
}

.at-teams-list-wrapper .at-team-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 25px 0 25px;
}

.at-teams-list-wrapper .at-team-logo-section {
    flex-shrink: 0;
}

.at-teams-list-wrapper .at-team-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
}

.at-teams-list-wrapper .at-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.at-teams-list-wrapper .at-team-logo img:hover {
    transform: scale(1.05);
}

.at-teams-list-wrapper .at-default-logo {
    font-size: 24px;
    color: #8E8B5E;
}

.at-teams-list-wrapper .at-recruiting-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.at-teams-list-wrapper .at-recruiting-badge.recruiting-open {
    background: #d4edda;
    color: #155724;
}

.at-teams-list-wrapper .at-recruiting-badge.recruiting-selective {
    background: #fff3cd;
    color: #856404;
}

.at-teams-list-wrapper .at-recruiting-badge.recruiting-closed {
    background: #f8d7da;
    color: #721c24;
}

.at-teams-list-wrapper .at-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.at-teams-list-wrapper .at-team-card-content {
    padding: 20px 25px;
}

.at-teams-list-wrapper .at-team-name {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.at-teams-list-wrapper .at-team-name a {
    color: #505050;
    text-decoration: none;
    transition: color 0.2s ease;
}

.at-teams-list-wrapper .at-team-name a:hover {
    color: #8E8B5E;
}

.at-teams-list-wrapper .at-team-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.at-teams-list-wrapper .at-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.at-teams-list-wrapper .at-meta-icon {
    font-size: 16px;
    width: 16px;
    text-align: center;
    color: #8E8B5E;
}

.at-teams-list-wrapper .at-team-description {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.at-teams-list-wrapper .at-team-card-footer {
    padding-top: 12px;
    border-top: 1px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.at-teams-list-wrapper .at-view-team-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #8E8B5E;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.at-teams-list-wrapper .at-view-team-btn:hover {
    background: #7F7D54;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.at-teams-list-wrapper .at-recruiting-status {
    font-size: 12px;
    font-weight: 600;
}

.at-teams-list-wrapper .at-status-open {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 6px;
}

.at-teams-list-wrapper .at-status-selective {
    color: #DFB62A;
    display: flex;
    align-items: center;
    gap: 6px;
}

.at-teams-list-wrapper .at-status-pulse {
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* ===== LİSTE GÖRÜNÜMÜ - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-view-list .at-team-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 20px 25px;
}

.at-teams-list-wrapper .at-view-list .at-team-card-header {
    padding: 0;
    margin-right: 20px;
}

.at-teams-list-wrapper .at-view-list .at-team-card-content {
    padding: 0;
    margin-right: 20px;
}

.at-teams-list-wrapper .at-view-list .at-team-card-footer {
    padding: 0;
    margin: 0;
}

.at-teams-list-wrapper .at-view-list .at-team-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

/* ===== PAGİNATİON - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(142, 139, 94, 0.08);
}

.at-teams-list-wrapper .at-pagination-info {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.at-teams-list-wrapper .at-pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.at-teams-list-wrapper .at-pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.at-teams-list-wrapper .at-pagination-btn:hover {
    background: #8E8B5E;
    color: white;
    border-color: #8E8B5E;
    transform: translateY(-1px);
    text-decoration: none;
}

.at-teams-list-wrapper .at-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.at-teams-list-wrapper .at-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    font-size: 14px;
}

.at-teams-list-wrapper .at-page-btn:hover {
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
}

.at-teams-list-wrapper .at-page-btn.at-current {
    background: #8E8B5E;
    color: white;
    border-color: #8E8B5E;
}

.at-teams-list-wrapper .at-pagination-dots {
    color: #adb5bd;
    font-weight: bold;
    padding: 0 5px;
}

/* ===== BOŞ DURUM - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-no-teams {
    text-align: center;
    padding: 80px 20px;
    color: #6c757d;
}

.at-teams-list-wrapper .at-no-teams-content {
    max-width: 500px;
    margin: 0 auto;
}

.at-teams-list-wrapper .at-no-teams-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.at-teams-list-wrapper .at-no-teams-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 15px 0;
}

.at-teams-list-wrapper .at-no-teams-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
}

.at-teams-list-wrapper .at-no-teams-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.at-teams-list-wrapper .at-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 14px;
}

.at-teams-list-wrapper .at-btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
}

.at-teams-list-wrapper .at-btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
    text-decoration: none;
}

/* ===== MODAL - GLOBAL ===== */
.at-logo-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.at-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 999999;
}

.at-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.at-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #505050;
}

.at-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 999999;
}

.at-modal-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.at-modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Modalın footer'da gözükmemesi için */
.site-footer .at-modal-close,
footer .at-modal-close {
    display: none !important;
}

/* Modal açık olduğunda body scroll engelle */
body.at-modal-open {
    overflow: hidden;
}

/* ===== GLOBAL ALERTS - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-global-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.at-teams-list-wrapper .at-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.at-teams-list-wrapper .at-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.at-teams-list-wrapper .at-alert-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.at-teams-list-wrapper .at-alert-message {
    flex: 1;
}

.at-teams-list-wrapper .at-alert-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    margin-left: 10px;
    transition: opacity 0.2s ease;
}

.at-teams-list-wrapper .at-alert-close:hover {
    opacity: 1;
}

/* Focus states - SADECE LİSTE SAYFASI */
.at-teams-list-wrapper .at-filter-select:focus,
.at-teams-list-wrapper .at-filter-input:focus,
.at-teams-list-wrapper .at-filter-btn:focus,
.at-teams-list-wrapper .at-view-team-btn:focus,
.at-teams-list-wrapper .at-page-link:focus {
    outline: 2px solid #8E8B5E;
    outline-offset: 2px;
}

/* ===== RESPONSİVE TASARIM - SADECE LİSTE SAYFASI ===== */
@media (max-width: 768px) {
    .at-teams-list-wrapper .at-hero-title {
        font-size: 2.5rem;
    }
    
    .at-teams-list-wrapper .at-hero-stats {
        gap: 20px;
    }
    
    .at-teams-list-wrapper .at-stat-number {
        font-size: 2rem;
    }
    
    .at-teams-list-wrapper .at-filters-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .at-teams-list-wrapper .at-view-toggle {
        justify-content: center;
    }
    
    .at-teams-list-wrapper .at-filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .at-teams-list-wrapper .at-filter-actions {
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
    
    .at-teams-list-wrapper .at-filter-actions .at-filter-label {
        display: none;
    }
    
    .at-teams-list-wrapper .at-teams-container.at-view-grid {
        grid-template-columns: 1fr;
    }
    
    .at-teams-list-wrapper .at-view-list .at-team-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .at-teams-list-wrapper .at-view-list .at-team-card-header,
    .at-teams-list-wrapper .at-view-list .at-team-card-content,
    .at-teams-list-wrapper .at-view-list .at-team-card-footer {
        margin: 0;
    }
    
    .at-teams-list-wrapper .at-pagination {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .at-teams-list-wrapper .at-container {
        padding: 0 15px;
    }
    
    .at-teams-list-wrapper .at-teams-hero {
        padding: 60px 0;
    }
    
    .at-teams-list-wrapper .at-hero-title {
        font-size: 2rem;
    }
    
    .at-teams-list-wrapper .at-hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .at-teams-list-wrapper .at-stat-divider {
        display: none;
    }
    
    .at-teams-list-wrapper .at-filters-card {
        padding: 20px;
        border-radius: 10px;
    }
    
    .at-teams-list-wrapper .at-team-card {
        border-radius: 10px;
    }
}

/* ===== YÜKLEME ANİMASYONLARI - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.at-teams-list-wrapper .at-slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HOVER EFEKTLERİ - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-team-card {
    position: relative;
    overflow: hidden;
}

.at-teams-list-wrapper .at-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.at-teams-list-wrapper .at-team-card:hover::before {
    left: 100%;
}

/* ===== ACCESSIBILITY - SADECE LİSTE SAYFASI ===== */
.at-teams-list-wrapper .at-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles for Accessibility - SADECE LİSTE SAYFASI */
.at-teams-list-wrapper .at-btn:focus,
.at-teams-list-wrapper .at-form-group input:focus {
    outline: 2px solid #8E8B5E;
    outline-offset: 2px;
}

/* ===== PRINT STİLLERİ ===== */
@media print {
    .at-teams-hero,
    .at-filters-section,
    .at-pagination,
    .at-global-alert,
    .at-logo-modal {
        display: none;
    }
    
    .at-team-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ===== DARK MODE DESTEĞİ ===== */
@media (prefers-color-scheme: dark) {
    .at-teams-list-wrapper {
        color: #e9ecef;
    }
    
    .at-filters-card,
    .at-team-card {
        background: #2c3e50;
        border-color: #495057;
    }
    
    .at-filter-select,
    .at-filter-input {
        background: #495057;
        border-color: #6c757d;
        color: #e9ecef;
    }
    
    .at-global-alert.at-alert-success {
        background: #1e4620;
        color: #d4edda;
        border-color: #2d5a2f;
    }
    
    .at-global-alert.at-alert-error {
        background: #4a1e1e;
        color: #f8d7da;
        border-color: #5a2d2d;
    }
}

/* ===== WooCommerce İNTEGRASYONU ===== */
.at-discount-notice {
    background: linear-gradient(135deg, #8E8B5E 0%, #7F7D54 100%);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(142, 139, 94, 0.3);
}

.at-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #8E8B5E;
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin: 5px 0;
}

/* Cart Discount Display */
.woocommerce-cart .at-team-fee {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.at-team-fee .at-fee-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8E8B5E;
    font-weight: 600;
}

.at-team-fee .at-fee-amount {
    color: #8E8B5E;
    font-weight: bold;
    font-size: 1.1em;
}

/* WooCommerce Integration */
.woocommerce .at-team-discount-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    color: #856404;
}

.woocommerce .at-team-discount-info h4 {
    margin-top: 0;
    color: #856404;
}

.woocommerce .at-team-discount-info ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.woocommerce .at-team-discount-info li {
    margin-bottom: 5px;
}

/* Product Page Integration */
.single-product .at-team-benefit {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.single-product .at-team-benefit h3 {
    color: #8E8B5E;
    margin-top: 0;
}

.single-product .at-team-benefit .at-benefit-highlight {
    font-size: 1.5em;
    font-weight: bold;
    color: #8E8B5E;
    margin: 10px 0;
}

/* Checkout Page */
.woocommerce-checkout .at-checkout-notice {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.woocommerce-checkout .at-checkout-notice .dashicons {
    color: #8E8B5E;
    margin-right: 8px;
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
    .at-fade-in,
    .at-slide-in,
    .at-loading:before {
        animation: none;
    }
    
    .at-btn {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .at-discount-notice,
    .at-team-badge,
    .at-team-fee {
        background: transparent !important;
        color: #000 !important;
        border: 1px solid #000 !important;
    }
}

/* Loading States */
.at-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
}

.at-loading:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8E8B5E;
    border-radius: 50%;
    animation: at-spin 1s linear infinite;
}

@keyframes at-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation Classes */
.at-fade-in {
    animation: atFadeIn 0.5s ease-in-out;
}

@keyframes atFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.at-slide-in {
    animation: atSlideIn 0.6s ease-out;
}

@keyframes atSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility Classes */
.at-text-center { text-align: center; }
.at-text-left { text-align: left; }
.at-text-right { text-align: right; }

.at-mb-0 { margin-bottom: 0 !important; }
.at-mb-10 { margin-bottom: 10px !important; }
.at-mb-20 { margin-bottom: 20px !important; }

.at-mt-0 { margin-top: 0 !important; }
.at-mt-10 { margin-top: 10px !important; }
.at-mt-20 { margin-top: 20px !important; }

.at-hidden { display: none !important; }
.at-visible { display: block !important; }

/* ===== MODAL STİLLERİ ===== */
/* Modal artık üstte global olarak tanımlandı */

/* Screen Reader Only */
.at-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .at-discount-notice {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .at-team-badge {
        background: #000;
        color: #fff;
        border: 1px solid #fff;
    }
}

/* Print Styles */
@media print {
    .at-teams-hero,
    .at-filters-section,
    .at-pagination,
    .at-global-alert,
    .at-logo-modal {
        display: none;
    }
    
    .at-team-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .at-discount-notice,
    .at-team-badge,
    .at-team-fee {
        background: transparent !important;
        color: #000 !important;
        border: 1px solid #000 !important;
    }
}

/* ===== DARK MODE DESTEĞİ ===== */
@media (prefers-color-scheme: dark) {
    .at-teams-list-wrapper {
        color: #e9ecef;
    }
    
    .at-teams-list-wrapper .at-filters-card,
    .at-teams-list-wrapper .at-team-card {
        background: #2c3e50;
        border-color: #495057;
    }
    
    .at-teams-list-wrapper .at-filter-select,
    .at-teams-list-wrapper .at-filter-input {
        background: #495057;
        border-color: #6c757d;
        color: #e9ecef;
    }
    
    .at-teams-list-wrapper .at-global-alert.at-alert-success {
        background: #1e4620;
        color: #d4edda;
        border-color: #2d5a2f;
    }
    
    .at-teams-list-wrapper .at-global-alert.at-alert-error {
        background: #4a1e1e;
        color: #f8d7da;
        border-color: #5a2d2d;
    }
}

/* ===== WooCommerce İNTEGRASYONU - GLOBAL ===== */
.at-discount-notice {
    background: linear-gradient(135deg, #8E8B5E 0%, #7F7D54 100%);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(142, 139, 94, 0.3);
}

.at-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #8E8B5E;
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin: 5px 0;
}

/* Cart Discount Display */
.woocommerce-cart .at-team-fee {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.at-team-fee .at-fee-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8E8B5E;
    font-weight: 600;
}

.at-team-fee .at-fee-amount {
    color: #8E8B5E;
    font-weight: bold;
    font-size: 1.1em;
}

/* WooCommerce Integration */
.woocommerce .at-team-discount-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    color: #856404;
}

.woocommerce .at-team-discount-info h4 {
    margin-top: 0;
    color: #856404;
}

.woocommerce .at-team-discount-info ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.woocommerce .at-team-discount-info li {
    margin-bottom: 5px;
}

/* Product Page Integration */
.single-product .at-team-benefit {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.single-product .at-team-benefit h3 {
    color: #8E8B5E;
    margin-top: 0;
}

.single-product .at-team-benefit .at-benefit-highlight {
    font-size: 1.5em;
    font-weight: bold;
    color: #8E8B5E;
    margin: 10px 0;
}

/* Checkout Page */
.woocommerce-checkout .at-checkout-notice {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.woocommerce-checkout .at-checkout-notice .dashicons {
    color: #8E8B5E;
    margin-right: 8px;
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
    .at-fade-in,
    .at-slide-in,
    .at-loading:before {
        animation: none;
    }
    
    .at-btn {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .at-discount-notice,
    .at-team-badge,
    .at-team-fee {
        background: transparent !important;
        color: #000 !important;
        border: 1px solid #000 !important;
    }
}

/* Loading States */
.at-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
}

.at-loading:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #8E8B5E;
    border-radius: 50%;
    animation: at-spin 1s linear infinite;
}

@keyframes at-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation Classes */
.at-fade-in {
    animation: atFadeIn 0.5s ease-in-out;
}

@keyframes atFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.at-slide-in {
    animation: atSlideIn 0.6s ease-out;
}

@keyframes atSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility Classes */
.at-text-center { text-align: center; }
.at-text-left { text-align: left; }
.at-text-right { text-align: right; }

.at-mb-0 { margin-bottom: 0 !important; }
.at-mb-10 { margin-bottom: 10px !important; }
.at-mb-20 { margin-bottom: 20px !important; }

.at-mt-0 { margin-top: 0 !important; }
.at-mt-10 { margin-top: 10px !important; }
.at-mt-20 { margin-top: 20px !important; }

.at-hidden { display: none !important; }
.at-visible { display: block !important; }

/* ===== MODAL STİLLERİ ===== */
.at-modal-open {
    overflow: hidden;
}

/* ========== TEAM MANAGEMENT STYLES ========== */

/* Modern Team Management Styles */
.at-team-management-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
}

.at-team-management {
    padding: 20px 0;
    min-height: 100vh;
    width: 100%;
}

.at-container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    width: 100%;
}

/* Dashboard Styles */
.at-dashboard {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.at-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.at-dashboard-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8em;
}

.at-dashboard-actions {
    display: flex;
    gap: 15px;
}

.at-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.at-stat-card {
    background: linear-gradient(135deg, #8E8B5E 0%, #B5B38A 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.at-stat-card.recruiting-open {
    background: linear-gradient(135deg, #8E8B5E 0%, #B5B38A 100%);
}

.at-stat-card.recruiting-selective {
    background: linear-gradient(135deg, #D4AF37 0%, #F4E04D 100%);
}

.at-stat-card.recruiting-closed {
    background: linear-gradient(135deg, #6c757d 0%, #95999c 100%);
}

.at-stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.at-stat-label {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.at-stat-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5em;
    opacity: 0.3;
}

/* Content Grid */
.at-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Card Styles */
.at-card, .at-profile-setup {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.at-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f1f3f4;
}

.at-card-header h3 {
    margin: 0 0 12px 0;
    color: #2c3e50 !important;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
}

.at-card-header p {
    margin: 0;
    color: #6c757d !important;
    font-size: 1.05em;
    line-height: 1.6;
    font-weight: 400;
}

/* Form Styles */
.at-profile-form {
    max-width: none;
}

.at-form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #8E8B5E;
}

.at-form-section h4 {
    margin: 0 0 20px 0;
    color: #2c3e50 !important;
    font-size: 1.25em;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

.at-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.at-form-group {
    margin-bottom: 20px;
}

.at-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.at-form-group input,
.at-form-group select,
.at-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.at-form-group input:focus,
.at-form-group select:focus,
.at-form-group textarea:focus {
    outline: none;
    border-color: #8E8B5E;
    box-shadow: 0 0 0 3px rgba(142, 139, 94, 0.1);
}

.required {
    color: #e74c3c;
}

/* Button Styles */
.at-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: none !important;
}

.at-btn-primary {
    background: linear-gradient(135deg, #8E8B5E 0%, #B5B38A 100%);
    color: #fff;
    text-transform: none !important;
}

.at-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 139, 94, 0.3);
    text-decoration: none;
    color: #fff;
}

.at-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.at-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

.at-btn-outline {
    background: transparent;
    border: 2px solid #8E8B5E;
    color: #8E8B5E;
}

.at-btn-outline:hover {
    background: #8E8B5E;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.at-btn-danger {
    background: #e74c3c;
    color: #fff;
}

.at-btn-danger:hover {
    background: #c0392b;
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

.at-btn-full {
    width: 100%;
}

.at-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.at-btn-small {
    padding: 8px 16px;
    font-size: 0.9em;
}

/* Member List Styles */
.at-members-list {
    max-height: 400px;
    overflow-y: auto;
}

.at-member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 2px solid #f1f3f4;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.at-member-item:hover {
    border-color: #8E8B5E;
    background: #f8f9fa;
}

.at-member-item.at-captain {
    border-color: #D4AF37;
    background: linear-gradient(135deg, #D4AF37, #F4E04D);
    color: white;
}

.at-member-info {
    flex: 1;
}

.at-member-email {
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.at-member-details {
    font-size: 0.9em;
    color: #6c757d;
    display: flex;
    gap: 15px;
}

.at-captain .at-member-details {
    color: rgba(255,255,255,0.9);
}

.at-member-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.at-member-status.active {
    background: #d4edda;
    color: #155724;
}

.at-member-status.captain {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Member Role Badges */
.at-member-role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 10px;
}

.at-member-role-badge.member {
    background: #e9ecef;
    color: #6c757d;
}

.at-member-role-badge.assistant_captain {
    background: rgba(142, 139, 94, 0.1);
    color: #8E8B5E;
}

.at-member-role-badge.captain {
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
}

/* Member Controls */
.at-member-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.at-role-select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85em;
    background: white;
    min-width: 120px;
}

.at-visibility-btn {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

.at-visibility-btn:hover {
    background: #5a6268 !important;
}

/* Form Help Text */
.at-form-help {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 5px;
    line-height: 1.4;
}

/* Steps */
.at-steps {
    space-y: 15px;
}

.at-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.at-step-number {
    background: #8E8B5E;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.at-step-content {
    flex: 1;
    line-height: 1.6;
}

/* Empty State */
.at-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.at-empty-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

/* Modal Styles */
.at-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.at-modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.at-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.at-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10;
    margin: auto;
    transform: translateX(0) translateY(0);
}

.at-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #f1f3f4;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.at-modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.at-modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #6c757d;
    padding: 5px;
    border-radius: 4px;
}

.at-modal-close:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.at-modal .at-profile-form {
    padding: 25px;
}

/* Form Actions */
.at-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f1f3f4;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Messages */
.at-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
}

.at-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.at-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Logo Upload Styles */
.at-logo-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.at-logo-preview {
    position: relative;
    width: 150px;
    height: 150px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

.at-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.at-remove-logo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.at-remove-logo:hover {
    background: rgba(220, 53, 69, 1);
}

.at-file-input-wrapper {
    position: relative;
    display: inline-block;
}

.at-file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.at-file-input-wrapper label.at-upload-logo {
    display: inline-block;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.at-file-input-wrapper:hover label.at-upload-logo {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 139, 94, 0.3);
}

.at-upload-help {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.at-upload-help small {
    color: #999;
    font-style: italic;
}

/* Rich Text Editor Fixes */
.wp-editor-wrap {
    margin-bottom: 15px;
}

.wp-editor-area {
    border-radius: 8px !important;
}

.wp-editor-tools {
    border-radius: 8px 8px 0 0 !important;
}

.wp-editor-container {
    border-radius: 0 0 8px 8px !important;
}

/* Error Messages */
.at-error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 20px 0;
}

/* ========== CAPTAIN APPLICATION PAGE STYLES ========== */

/* Captain Application Wrapper */
.at-captain-application-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    padding: 20px 0;
    width: 100%;
}

/* Hero Section */
.at-hero-section {
    background: linear-gradient(135deg, #8E8B5E 0%, #B5B38A 100%);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.at-hero-content h1 {
    margin: 0 0 15px 0;
    font-size: 3em;
    font-weight: 700;
    color: white !important;
}

.at-hero-subtitle {
    font-size: 1.3em;
    margin: 0 0 25px 0;
    opacity: 0.95;
    line-height: 1.4;
    color: white !important;
}

.at-hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.at-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    color: white !important;
    border: 1px solid rgba(255,255,255,0.3);
}

.at-hero-image {
    flex-shrink: 0;
    margin-left: 30px;
}

.at-hero-icon {
    font-size: 8em;
    opacity: 0.3;
    text-shadow: 0 0 20px rgba(0,0,0,0.3);
    color: white !important;
}

/* Application Content Grid */
.at-application-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Application Cards */
.at-benefits-card,
.at-how-it-works-card,
.at-application-form-card,
.at-help-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid #f1f3f4;
}

/* Card Headers - Better Typography */
.at-card-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f1f3f4;
}

.at-card-header h3 {
    margin: 0 0 12px 0;
    color: #2c3e50 !important;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
}

.at-card-header p {
    margin: 0;
    color: #6c757d !important;
    font-size: 1.05em;
    line-height: 1.6;
    font-weight: 400;
}

/* Benefits List */
.at-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.at-benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #8E8B5E;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.at-benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.at-benefit-icon {
    font-size: 2em;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.at-benefit-content h4 {
    margin: 0 0 8px 0;
    color: #2c3e50 !important;
    font-size: 1.1em;
    font-weight: 600;
}

.at-benefit-content p {
    margin: 0;
    color: #6c757d !important;
    line-height: 1.5;
}

/* Application Steps */
.at-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.at-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.at-step-number {
    background: linear-gradient(135deg, #8E8B5E 0%, #B5B38A 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1em;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(142, 139, 94, 0.3);
}

.at-step-content h4 {
    margin: 0 0 8px 0;
    color: #2c3e50 !important;
    font-size: 1.1em;
    font-weight: 600;
}

.at-step-content p {
    margin: 0;
    color: #6c757d !important;
    line-height: 1.5;
}

/* Application Form */
.at-application-form {
    max-width: none;
}

/* Form Sections */
.at-form-section h4 {
    margin: 0 0 20px 0;
    color: #2c3e50 !important;
    font-size: 1.2em;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f4;
}

/* Form Groups */
.at-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50 !important;
}

.at-form-group input,
.at-form-group select,
.at-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #495057 !important;
    background: white;
}

.at-form-group input:focus,
.at-form-group select:focus,
.at-form-group textarea:focus {
    outline: none;
    border-color: #8E8B5E;
    box-shadow: 0 0 0 3px rgba(142, 139, 94, 0.1);
}

.at-form-group input::placeholder,
.at-form-group textarea::placeholder {
    color: #adb5bd !important;
}

/* Form Help Text */
.at-form-help {
    font-size: 0.9em;
    color: #6c757d !important;
    margin-top: 5px;
    line-height: 1.4;
}

/* Checkbox Groups */
.at-checkbox-group {
    margin-bottom: 15px;
}

.at-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
}

.at-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.at-checkbox-text {
    line-height: 1.5;
    color: #495057 !important;
}

.at-checkbox-text strong {
    color: #2c3e50 !important;
}

/* Form Actions */
.at-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f1f3f4;
    text-align: center;
}

/* Submit Button */
.at-form-actions .at-btn-primary {
    background: linear-gradient(135deg, #8E8B5E 0%, #B5B38A 100%);
    color: white !important;
    font-size: 1.1em;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 5px 20px rgba(142, 139, 94, 0.3);
    transition: all 0.3s ease;
}

.at-form-actions .at-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(142, 139, 94, 0.4);
    text-decoration: none;
    color: white !important;
}

/* Help Content */
.at-help-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #495057 !important;
}

.at-help-content p strong {
    color: #2c3e50 !important;
}

.at-help-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.at-contact-link {
    color: #8E8B5E !important;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
    transition: color 0.3s ease;
}

.at-contact-link:hover {
    color: #6c6940 !important;
    text-decoration: none;
}

/* Required Field Indicator */
.required {
    color: #e74c3c !important;
}

/* Messages */
.at-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
}

.at-message.success {
    background: #d4edda;
    color: #155724 !important;
    border: 2px solid #c3e6cb;
}

.at-message.error {
    background: #f8d7da;
    color: #721c24 !important;
    border: 2px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Application Page Responsive */
    .at-application-content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .at-hero-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .at-hero-content h1 {
        font-size: 2.2em;
    }
    
    .at-hero-image {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .at-hero-icon {
        font-size: 4em;
    }
    
    .at-hero-badges {
        justify-content: center;
    }
    
    .at-benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .at-step {
        flex-direction: column;
        text-align: center;
    }
    
    .at-checkbox-label {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    /* Application Page Mobile */
    .at-hero-section {
        padding: 20px;
    }
    
    .at-benefits-card,
    .at-how-it-works-card,
    .at-application-form-card,
    .at-help-card {
        padding: 20px;
    }
    
    .at-form-section {
        padding: 20px;
    }
}

/* ========== TEAM MEMBER VIEW PAGE STYLES ========== */

/* Member Badge */
.at-member-badge {
    background: linear-gradient(135deg, #8E8B5E 0%, #B5B38A 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

/* Team Profile View */
.at-team-profile-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.at-team-logo {
    text-align: center;
    margin-bottom: 15px;
}

.at-team-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.at-info-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8E8B5E;
}

.at-team-description {
    margin-top: 8px;
    line-height: 1.6;
    color: #495057;
}

/* Contact Info */
.at-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.at-contact-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.at-contact-item a {
    color: #8E8B5E;
    text-decoration: none;
    font-weight: 600;
}

.at-contact-item a:hover {
    text-decoration: underline;
}

/* Achievements */
.at-achievements {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #D4AF37;
    line-height: 1.6;
}

/* Members Display */
.at-members-display {
    max-height: 500px;
    overflow-y: auto;
}

.at-member-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.at-member-count {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

/* Membership Info */
.at-membership-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Help Info */
.at-help-info ul {
    margin: 15px 0;
    padding-left: 20px;
}

.at-help-info li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .at-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .at-dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .at-dashboard-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .at-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .at-form-grid {
        grid-template-columns: 1fr;
    }
    
    .at-member-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .at-member-actions {
        width: 100%;
    }
    
    .at-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .at-form-actions {
        flex-direction: column;
    }
    
    /* Application Page Responsive */
    .at-application-content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .at-hero-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .at-hero-content h1 {
        font-size: 2.2em;
    }
    
    .at-hero-image {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .at-hero-icon {
        font-size: 4em;
    }
    
    .at-hero-badges {
        justify-content: center;
    }
    
    .at-benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .at-step {
        flex-direction: column;
        text-align: center;
    }
    
    .at-checkbox-label {
        align-items: flex-start;
    }
    
    /* Member View Responsive */
    .at-team-profile-view {
        text-align: center;
    }
    
    .at-member-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .at-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .at-header h1 {
        font-size: 1.8em;
    }
    
    /* Application Page Mobile */
    .at-hero-section {
        padding: 20px;
    }
    
    .at-benefits-card,
    .at-how-it-works-card,
    .at-application-form-card,
    .at-help-card {
        padding: 20px;
    }
    
    .at-form-section {
        padding: 20px;
    }
}

}

/* Form Introduction Text */
.at-form-intro {
    margin-bottom: 30px;
    padding: 20px;
    background: #e8f4fd;
    border-radius: 12px;
    border-left: 4px solid #17a2b8;
}

.at-form-intro p {
    margin: 0;
    color: #0c5460 !important;
    font-size: 1.05em;
    line-height: 1.6;
    font-weight: 500;
}

/* Application Form */
.at-application-form {
    max-width: none;
} 