/**
 * Fighters Wanted - Sidebar Panel CSS
 * 
 * Black, white, red branding matching FIGHTERS WANTED.
 */

/* Sidebar panel container */
.fw-sidebar-panel {
    background: #0a0a0a;
    border: 1px solid #d21c1c;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Sidebar header */
.fw-sidebar-header {
    margin-bottom: 1rem;
}

.fw-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.fw-title .fw-wall {
    color: #d21c1c;
}

.fw-subtitle {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d21c1c;
    margin: 0;
}

/* Sidebar body */
.fw-sidebar-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fw-description {
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

.fw-details {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}

/* Status box - consistent classes */
.fw-status-box {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fw-status-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.fw-status-text {
    font-size: 0.85rem;
}

/* Status variants */
.fw-status-box.fw-status-pending,
.fw-status-box.status-pending {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    color: #ffc107;
}

.fw-status-box.fw-status-approved,
.fw-status-box.status-approved {
    background: rgba(57, 167, 81, 0.1);
    border: 1px solid #39A751;
    color: #39A751;
}

.fw-status-box.fw-status-rejected,
.fw-status-box.status-rejected {
    background: rgba(210, 28, 28, 0.1);
    border: 1px solid #d21c1c;
    color: #d21c1c;
}

.fw-status-box.fw-status-changes-requested,
.fw-status-box.status-changes {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    color: #ffc107;
}

.fw-status-box.fw-status-not-completed,
.fw-status-box.status-not-completed {
    background: rgba(100, 100, 100, 0.1);
    border: 1px solid #666666;
    color: #a0a0a0;
}

/* Buttons */
.fw-btn-complete {
    display: inline-block;
    background: #d21c1c;
    border: none;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.fw-btn-complete:hover {
    background: #b71616;
    text-decoration: none;
    color: #ffffff;
}

.fw-btn-complete.fw-btn-view {
    background: #2a2a2a;
    border: 1px solid #d21c1c;
}

.fw-btn-complete.fw-btn-view:hover {
    background: #3a3a3a;
}

/* Responsive */
@media (max-width: 768px) {
    .fw-sidebar-panel {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .fw-title {
        font-size: 1.1rem;
    }
    
    .fw-btn-complete {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   FIGHTER PROFILE FORM STYLES
   ============================================ */
.fw-fighter-profile-container {
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.fw-fighter-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.fw-fighter-profile-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.fw-fighter-status-msg {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin: 0 0 1rem 0;
}

/* Profile completion bar */
.fw-completion-bar {
    width: 100%;
    height: 6px;
    background: #2a2a2a;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.fw-completion-fill {
    height: 100%;
    background: #d21c1c;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.fw-completion-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.fw-completion-complete {
    color: #39A751;
}

.fw-completion-incomplete {
    color: #ffc107;
}

.fw-fighter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fw-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fw-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #a0a0a0;
}

.fw-form-group input,
.fw-form-group select,
.fw-form-group textarea {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
    font-family: inherit;
}

.fw-form-group input:focus,
.fw-form-group select:focus,
.fw-form-group textarea:focus {
    outline: none;
    border-color: #d21c1c;
}

.fw-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.fw-form-group select[multiple] {
    min-height: 150px;
}

.fw-form-help {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 0.25rem;
}

.fw-btn-save {
    background: #d21c1c;
    border: none;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.fw-btn-save:hover {
    background: #b71616;
}

.fw-btn-save:disabled {
    background: #666666;
    cursor: not-allowed;
}

.fw-msg-success {
    background: rgba(57, 167, 81, 0.1);
    border: 1px solid #39A751;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.fw-msg-error {
    background: rgba(210, 28, 28, 0.1);
    border: 1px solid #d21c1c;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.fw-photo-preview {
    margin-top: 0.5rem;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    max-width: 200px;
}

.fw-photo-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* Discipline checkboxes - all six visible */
.fw-discipline-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fw-discipline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.fw-discipline-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

.fw-discipline-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #d21c1c;
    cursor: pointer;
}

.fw-discipline-checkbox .fw-checkmark {
    width: 1.25rem;
    height: 1.25rem;
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
}

.fw-discipline-checkbox input[type="checkbox"]:checked + .fw-checkmark {
    background: #d21c1c;
    border-color: #d21c1c;
}

.fw-discipline-checkbox input[type="checkbox"]:checked + .fw-checkmark::after {
    content: '✓';
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fw-discipline-checkbox:hover .fw-checkmark {
    border-color: #d21c1c;
}

/* ============================================
   FIGHTERS WALL STYLES
   ============================================ */
.fw-header {
    background: #0a0a0a;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.fw-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.fw-logo {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-decoration: none;
}

.fw-logo .fw-want { color: #ffffff; }
.fw-logo .fw-wall { color: #d21c1c; }

.fw-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.fw-nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.fw-nav-links a:hover { color: #ffffff; }
.fw-nav-links a.active {
    color: #ffffff;
    border-bottom: 2px solid #d21c1c;
    padding-bottom: 0.25rem;
}

.fw-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-bottom: 1px solid #2a2a2a;
}

.fw-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.fw-hero h1 .fw-wall { color: #d21c1c; }

.fw-hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.fw-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.fw-divider-line {
    flex: 1;
    height: 1px;
    background: #d21c1c;
}

.fw-filters {
    background: #0a0a0a;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #2a2a2a;
}

.fw-style-filters {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
}

.fw-style-filters::-webkit-scrollbar { display: none; }

.fw-filter-btn {
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.fw-filter-btn:hover { border-color: #d21c1c; color: #d21c1c; }
.fw-filter-btn.active {
    background: #d21c1c;
    border-color: #d21c1c;
    color: #ffffff;
}

.fw-advanced-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.fw-filter-select {
    background: #111111;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    padding: 0.625rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
    min-width: 180px;
    cursor: pointer;
}

.fw-filter-select:focus { outline: none; border-color: #d21c1c; }

.fw-search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.fw-search-box input {
    background: #111111;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    font-size: 0.95rem;
    border-radius: 6px;
    width: 100%;
}

.fw-search-box input:focus { outline: none; border-color: #d21c1c; }

.fw-btn-search {
    background: #d21c1c;
    border: none;
    color: #ffffff;
    padding: 0.625rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.fw-btn-search:hover { background: #b71616; }

.fw-fighters-section { padding: 3rem 2rem; }

.fw-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.fw-fighters-count {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.fw-fighters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.fw-card {
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fw-card:hover {
    border-color: #d21c1c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.fw-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fw-card-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.fw-fighter-photo {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    flex-shrink: 0;
}

.fw-fighter-info { flex: 1; }

.fw-fighter-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    display: block;
}

.fw-fighter-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fw-discipline-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.fw-discipline-badge {
    background: #2a2a2a;
    color: #d21c1c;
    border: 1px solid #d21c1c;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fw-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.fw-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fw-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666666;
    font-weight: 600;
}

.fw-detail-label-verified {
    color: #39A751;
}

.fw-detail-value {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

.fw-contact-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid #2a2a2a;
    margin-top: auto;
}

.fw-btn-contact {
    background: #d21c1c;
    border: none;
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fw-btn-contact:hover { background: #b71616; }

.fw-btn-contact svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Availability status styling on cards */
.fw-availability-available { color: #39A751; font-weight: 700; }
.fw-availability-unavailable { color: #dc3545; font-weight: 700; }
.fw-availability-under-contract { color: #ffc107; font-weight: 700; }

/* Advertisement card */
.fw-advertisement {
    background: #111111;
    border: 1px solid #d21c1c;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fw-ad-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #d21c1c;
    margin-bottom: 0.5rem;
}

.fw-ad-placeholder {
    width: 100%;
    height: 200px;
    background: #1a1a1b;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 0.9rem;
    text-align: center;
}

.fw-ad-placeholder small {
    opacity: 0.5;
}

/* Empty state */
.fw-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    margin: 3rem 0;
}

.fw-empty-icon { font-size: 4rem; margin-bottom: 1.5rem; opacity: 0.5; }

.fw-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.fw-empty-text {
    color: #a0a0a0;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* Loading indicator */
.fw-loading-indicator {
    text-align: center;
    padding: 2rem;
    color: #a0a0a0;
    font-size: 0.95rem;
    display: none;
}

.fw-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #2a2a2a;
    border-top: 3px solid #d21c1c;
    border-radius: 50%;
    animation: fw-spin 1s linear infinite;
    margin-bottom: 0.75rem;
}

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

/* No more fighters message */
.fw-no-more-fighters {
    text-align: center;
    padding: 2rem;
    color: #a0a0a0;
    font-size: 0.95rem;
    display: none;
}

/* Load More button */
.fw-load-more-container {
    text-align: center;
    padding: 1.5rem;
    display: none;
}

.fw-btn-load-more {
    background: #d21c1c;
    border: none;
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.fw-btn-load-more:hover {
    background: #b71616;
}

.fw-btn-load-more:disabled {
    background: #666666;
    cursor: not-allowed;
}

/* Scroll sentinel */
#fw-scroll-sentinel {
    height: 1px;
    width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .fw-header { padding: 1rem; }
    .fw-nav { flex-direction: column; align-items: stretch; gap: 1rem; }
    .fw-nav-links { gap: 1rem; justify-content: center; }
    .fw-hero { padding: 2rem 1rem; }
    .fw-hero h1 { font-size: 2.5rem; }
    .fw-filters { padding: 1rem; }
    .fw-style-filters { gap: 0.5rem; }
    .fw-filter-btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
    .fw-advanced-filters { flex-direction: column; align-items: stretch; }
    .fw-filter-select { min-width: auto; }
    .fw-search-box { min-width: auto; }
    .fw-fighters-section { padding: 2rem 1rem; }
    .fw-fighters-grid { grid-template-columns: 1fr; gap: 1rem; }
    .fw-card-header { flex-direction: column; align-items: center; text-align: center; }
    .fw-fighter-photo { width: 80px; height: 80px; }
    .fw-fighter-details { grid-template-columns: 1fr; }
    .fw-contact-container { justify-content: center; }
    .fw-btn-contact { width: 100%; justify-content: center; }
    .fw-empty-state { padding: 2rem 1rem; }
    .fw-sidebar-panel { padding: 1rem; margin-bottom: 1rem; }
    .fw-title { font-size: 1.1rem; }
    .fw-btn-complete { padding: 0.625rem 1.25rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .fw-hero h1 { font-size: 2rem; }
    .fw-filter-btn { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .fw-btn-contact { padding: 0.5rem 1rem; font-size: 0.85rem; width: 100%; justify-content: center; }
    .fw-fighter-photo { width: 70px; height: 70px; }
    .fw-advertisement .fw-ad-placeholder { height: 150px; font-size: 0.8rem; }
    .fw-discipline-badge { font-size: 0.65rem; padding: 0.2rem 0.4rem; }
}