/* ==============================================
   Player Form - Ultra Premium Pro Design
   ============================================== */

/* ==============================================
   Animated Background
   ============================================== */

.player-form-pro {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.player-form-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.player-form-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: formOrbFloat 20s ease-in-out infinite;
}

.player-form-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(168, 85, 247, 0.4));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.player-form-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.5), rgba(34, 211, 238, 0.3));
    bottom: 20%;
    left: -80px;
    animation-delay: -7s;
}

.player-form-orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.4), rgba(244, 114, 182, 0.3));
    top: 40%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes formOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

/* ==============================================
   Hero Section
   ============================================== */

.player-form-hero {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.player-form-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(139, 92, 246, 0.1) 0%,
        transparent 100%);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.player-form-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: var(--spacing-md);
    animation: badgePulse 2s ease-in-out infinite;
}

.player-form-hero-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    stroke: none;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(139, 92, 246, 0.2); }
}

.player-form-hero-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.player-form-hero-title .title-gradient {
    background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.player-form-hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ==============================================
   Visual Icon Section
   ============================================== */

.player-form-visual {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.player-form-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.player-form-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--purple), var(--cyan)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ringRotate 8s linear infinite;
}

.player-form-icon-ring-2 {
    inset: 8px;
    animation-direction: reverse;
    animation-duration: 12s;
    opacity: 0.5;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.player-form-icon-center {
    position: absolute;
    inset: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-form-icon-center svg {
    width: 36px;
    height: 36px;
    stroke: var(--purple);
    stroke-width: 1.5;
    fill: none;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==============================================
   Progress Steps
   ============================================== */

.player-form-progress {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-xl);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.progress-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--bg-input);
    border: 2px solid var(--border);
    color: var(--text-tertiary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.progress-step-dot svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.progress-step.active .progress-step-dot {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transform: scale(1.1);
}

.progress-step.completed .progress-step-dot {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.progress-step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    display: none;
}

.progress-step.active .progress-step-label {
    color: var(--purple);
}

.progress-step-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    transition: background 0.3s;
}

.progress-step.completed + .progress-step-line,
.progress-step.completed + .progress-step .progress-step-line {
    background: var(--success);
}

@media (min-width: 768px) {
    .progress-step-label {
        display: block;
    }
}

/* ==============================================
   Form Container
   ============================================== */

.player-form-container {
    flex: 1;
    padding: 0 var(--spacing-xl);
    overflow-y: auto;
    padding-bottom: 100px;
}

/* ==============================================
   Form Section Cards
   ============================================== */

.form-section-pro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: sectionAppear 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-section-pro:nth-child(1) { animation-delay: 0.1s; }
.form-section-pro:nth-child(2) { animation-delay: 0.2s; }
.form-section-pro:nth-child(3) { animation-delay: 0.3s; }
.form-section-pro:nth-child(4) { animation-delay: 0.4s; }
.form-section-pro:nth-child(5) { animation-delay: 0.5s; }

@keyframes sectionAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    opacity: 0;
    transition: opacity 0.3s;
}

.form-section-pro:hover::before,
.form-section-pro:focus-within::before {
    opacity: 1;
}

.form-section-pro:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.form-section-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-section-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.form-section-icon.identity {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
}
.form-section-icon.identity svg { stroke: var(--purple); fill: none; }

.form-section-icon.evaluation {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(34, 211, 238, 0.1));
}
.form-section-icon.evaluation svg { stroke: var(--cyan); fill: none; }

.form-section-icon.position {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.1));
}
.form-section-icon.position svg { stroke: var(--success); fill: none; }

.form-section-icon.finances {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.1));
}
.form-section-icon.finances svg { stroke: var(--warning); fill: none; }

.form-section-icon.agent {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(244, 114, 182, 0.1));
}
.form-section-icon.agent svg { stroke: var(--pink); fill: none; }

.form-section-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.form-section-info p {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 0;
}

/* ==============================================
   Form Inputs Pro Style
   ============================================== */

.form-group-pro {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.form-label-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label-pro .required {
    color: var(--danger);
}

.form-label-pro svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    opacity: 0.6;
}

.form-input-pro {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input-pro::placeholder {
    color: var(--text-tertiary);
}

.form-input-pro:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.form-input-pro:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15),
                0 4px 12px rgba(139, 92, 246, 0.1);
}

.form-select-pro {
    width: 100%;
    padding: 14px 40px 14px 16px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove default browser dropdown arrow */
.form-select-pro::-ms-expand {
    display: none;
}

.form-select-pro:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background-color: rgba(255, 255, 255, 0.03);
}

.form-select-pro:focus {
    outline: none;
    border-color: var(--purple);
    background-color: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-textarea-pro {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-textarea-pro:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* File Input Pro */
.form-file-pro {
    position: relative;
}

.form-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: rgba(139, 92, 246, 0.05);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s;
}

.form-file-label:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--purple);
}

.form-file-label svg {
    width: 32px;
    height: 32px;
    stroke: var(--purple);
    stroke-width: 1.5;
    fill: none;
}

.form-file-text {
    text-align: left;
}

.form-file-text span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple);
}

.form-file-text small {
    font-size: 12px;
    color: var(--text-tertiary);
}

.form-file-pro input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* ==============================================
   Rating Cards
   ============================================== */

.rating-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.rating-card-pro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s;
}

.rating-card-pro:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
}

.rating-card-pro.current { border-left: 3px solid var(--cyan); }
.rating-card-pro.potential { border-left: 3px solid var(--success); }
.rating-card-pro.financial { border-left: 3px solid var(--warning); }

.rating-card-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-sm);
}

.rating-card-pro.current .rating-card-label { color: var(--cyan); }
.rating-card-pro.potential .rating-card-label { color: var(--success); }
.rating-card-pro.financial .rating-card-label { color: var(--warning); }

.rating-card-pro .form-input-pro {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    padding: var(--spacing-md);
}

@media (max-width: 600px) {
    .rating-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   Form Grid Pro
   ============================================== */

.form-grid-pro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.form-grid-pro-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-grid-pro .form-group-full {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-grid-pro,
    .form-grid-pro-3 {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   Submit Button Pro
   ============================================== */

.form-actions-pro {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    z-index: 100;
}

.form-actions-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.form-progress-text {
    font-size: 12px;
    color: var(--text-tertiary);
}

.form-progress-bar {
    width: 150px;
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    overflow: hidden;
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.form-actions-right {
    display: flex;
    gap: var(--spacing-md);
}

.btn-cancel-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel-pro:hover {
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

.btn-cancel-pro svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.btn-submit-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-submit-pro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-submit-pro:hover::before {
    opacity: 1;
}

.btn-submit-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.btn-submit-pro svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    position: relative;
    z-index: 1;
}

.btn-submit-pro span {
    position: relative;
    z-index: 1;
}

/* ==============================================
   Status Badges
   ============================================== */

.status-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.status-badge-option {
    position: relative;
}

.status-badge-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.status-badge-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.status-badge-label:hover {
    border-color: var(--purple);
    color: var(--text-primary);
}

.status-badge-option input:checked + .status-badge-label {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-color: var(--purple);
    color: var(--purple);
}

.status-badge-label.top { border-left: 3px solid var(--danger); }
.status-badge-label.priority { border-left: 3px solid var(--warning); }
.status-badge-label.artv { border-left: 3px solid var(--purple); }
.status-badge-label.client { border-left: 3px solid var(--success); }

/* ==============================================
   Foot Selection
   ============================================== */

.foot-selection {
    display: flex;
    gap: var(--spacing-sm);
}

.foot-option {
    flex: 1;
    position: relative;
}

.foot-option input {
    position: absolute;
    opacity: 0;
}

.foot-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s;
}

.foot-option-label:hover {
    border-color: var(--purple);
}

.foot-option input:checked + .foot-option-label {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    border-color: var(--purple);
}

.foot-option-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.foot-option-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.foot-option input:checked + .foot-option-label .foot-option-text {
    color: var(--purple);
}

/* ==============================================
   Section Collapse/Expand
   ============================================== */

.form-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.form-section-toggle svg.toggle-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-tertiary);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s;
}

.form-section-pro.collapsed .form-section-toggle svg.toggle-icon {
    transform: rotate(-90deg);
}

.form-section-body {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.form-section-pro.collapsed .form-section-body {
    max-height: 0;
}

/* ==============================================
   Edit Mode Header
   ============================================== */

.player-form-hero.edit-mode .player-form-hero-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.2));
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

/* ==============================================
   Responsive
   ============================================== */

@media (max-width: 768px) {
    .player-form-hero-title {
        font-size: 22px;
    }

    .player-form-progress {
        gap: var(--spacing-xs);
    }

    .progress-step-dot {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .progress-step-line {
        width: 20px;
    }

    .form-actions-pro {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .form-actions-left {
        width: 100%;
        justify-content: center;
    }

    .form-actions-right {
        width: 100%;
    }

    .btn-cancel-pro,
    .btn-submit-pro {
        flex: 1;
        justify-content: center;
    }
}

/* ==============================================
   Dark Mode Enhancements
   ============================================== */

[data-theme="dark"] .form-section-pro {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .form-input-pro,
[data-theme="dark"] .form-select-pro,
[data-theme="dark"] .form-textarea-pro {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .form-input-pro:focus,
[data-theme="dark"] .form-select-pro:focus,
[data-theme="dark"] .form-textarea-pro:focus {
    background: rgba(139, 92, 246, 0.1);
}

[data-theme="dark"] .form-actions-pro {
    background: rgba(10, 10, 15, 0.98);
}

/* ==============================================
   Light Mode Enhancements
   ============================================== */

[data-theme="light"] .player-form-bg {
    opacity: 0.25;
}

[data-theme="light"] .player-form-orb-1 {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
}

[data-theme="light"] .player-form-orb-2 {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(34, 211, 238, 0.08));
}

[data-theme="light"] .player-form-orb-3 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(244, 114, 182, 0.06));
}

[data-theme="light"] .player-form-hero-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.12));
    border-color: rgba(139, 92, 246, 0.2);
    color: #7c3aed;
}

[data-theme="light"] .player-form-hero-title .title-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #0891b2 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .player-form-hero-subtitle {
    color: var(--text-secondary);
}

[data-theme="light"] .form-section-pro {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .form-section-pro:hover {
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.08);
}

[data-theme="light"] .form-section-pro::before {
    background: linear-gradient(90deg, #7c3aed, #0891b2);
}

[data-theme="light"] .form-section-header {
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] .form-section-info h3 {
    color: var(--text-primary);
}

[data-theme="light"] .form-label-pro {
    color: var(--text-secondary);
}

[data-theme="light"] .form-input-pro,
[data-theme="light"] .form-select-pro,
[data-theme="light"] .form-textarea-pro {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="light"] .form-input-pro:hover,
[data-theme="light"] .form-select-pro:hover,
[data-theme="light"] .form-textarea-pro:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: var(--bg-secondary);
}

[data-theme="light"] .form-input-pro:focus,
[data-theme="light"] .form-select-pro:focus,
[data-theme="light"] .form-textarea-pro:focus {
    border-color: #7c3aed;
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

[data-theme="light"] .form-select-pro {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
}

[data-theme="light"] .rating-card-pro {
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

[data-theme="light"] .rating-card-pro:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .rating-card-pro.current {
    border-left: 3px solid #0891b2;
}

[data-theme="light"] .rating-card-pro.potential {
    border-left: 3px solid var(--success);
}

[data-theme="light"] .rating-card-pro.financial {
    border-left: 3px solid var(--warning);
}

[data-theme="light"] .rating-card-pro.current .rating-card-label {
    color: #0891b2;
}

[data-theme="light"] .foot-option-label {
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

[data-theme="light"] .foot-option-label:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .foot-option input:checked + .foot-option-label {
    background: rgba(139, 92, 246, 0.08);
    border-color: #7c3aed;
}

[data-theme="light"] .foot-option input:checked + .foot-option-label .foot-option-text {
    color: #7c3aed;
}

[data-theme="light"] .form-file-label {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .form-file-label:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #7c3aed;
}

[data-theme="light"] .form-file-label svg {
    stroke: #7c3aed;
}

[data-theme="light"] .form-file-text span {
    color: #7c3aed;
}

[data-theme="light"] .form-actions-pro {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-cancel-pro {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

[data-theme="light"] .btn-cancel-pro:hover {
    background: var(--bg-secondary);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

[data-theme="light"] .btn-submit-pro {
    background: linear-gradient(135deg, #7c3aed, #0891b2);
}

[data-theme="light"] .btn-submit-pro:hover {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

[data-theme="light"] .form-progress-bar {
    background: var(--border);
}

[data-theme="light"] .form-progress-fill {
    background: linear-gradient(90deg, #7c3aed, #0891b2);
}

[data-theme="light"] .form-progress-text {
    color: var(--text-secondary);
}

/* ==============================================
   Multi-Select Component for Form
   ============================================== */

.form-multi-select {
    position: relative;
    width: 100%;
}

.form-multi-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-multi-toggle:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.form-multi-toggle svg {
    width: 16px;
    height: 16px;
    stroke: var(--purple);
    stroke-width: 2;
    fill: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.form-multi-select.open .form-multi-toggle svg {
    transform: rotate(180deg);
}

.form-multi-text {
    font-size: 14px;
    color: var(--text-primary);
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.form-multi-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    max-height: 350px;
    overflow: visible;
}

.form-multi-select.open .form-multi-dropdown {
    display: block;
    animation: formMultiDropdownAppear 0.2s ease;
}

@keyframes formMultiDropdownAppear {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-multi-options {
    padding: 8px;
    max-height: 320px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.form-multi-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
}

.form-multi-option:hover {
    background: rgba(139, 92, 246, 0.1);
}

.form-multi-option input[type="checkbox"] {
    display: none;
}

.form-multi-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.form-multi-option input:checked + .form-multi-checkbox {
    background: var(--purple);
    border-color: var(--purple);
}

.form-multi-option input:checked + .form-multi-checkbox::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.form-multi-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.form-multi-option input:checked ~ .form-multi-label {
    color: var(--purple);
    font-weight: 600;
}

/* Light Mode for Form Multi-Select */
[data-theme="light"] .form-multi-toggle {
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

[data-theme="light"] .form-multi-toggle:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: var(--bg-secondary);
}

[data-theme="light"] .form-multi-toggle svg {
    stroke: #7c3aed;
}

[data-theme="light"] .form-multi-dropdown {
    background: var(--bg-primary);
    border-color: var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-multi-option:hover {
    background: rgba(139, 92, 246, 0.06);
}

[data-theme="light"] .form-multi-checkbox {
    border-color: var(--border);
}

[data-theme="light"] .form-multi-option input:checked + .form-multi-checkbox {
    background: #7c3aed;
    border-color: #7c3aed;
}

[data-theme="light"] .form-multi-option input:checked ~ .form-multi-label {
    color: #7c3aed;
}

/* Responsive for Form Multi-Select */
@media (max-width: 768px) {
    .form-multi-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .form-multi-options {
        grid-template-columns: 1fr;
    }
}
