* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* VT Sports Solutions - Hardwood Court Background */
    /* 1. Base Maple Color */
    background-color: #daa560;
    
    background-image: 
        /* LAYER A: The "Gym Light" Gloss (Spotlight effect) */
        radial-gradient(
            circle at center, 
            rgba(255, 255, 255, 0.2) 0%, 
            transparent 70%
        ),
        
        /* LAYER B: The Vertical Gaps (Dark lines between boards) */
        repeating-linear-gradient(
            90deg, 
            transparent 0, 
            transparent 28px, 
            rgba(0,0,0,0.1) 29px, 
            rgba(0,0,0,0.05) 30px
        ),
        
        /* LAYER C: Plank Color Variation (Alternating light/dark boards) */
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.05) 0,
            rgba(255,255,255,0.05) 30px,  /* Plank 1: Lighter */
            transparent 30px,
            transparent 60px,             /* Plank 2: Natural */
            rgba(0,0,0,0.03) 60px,
            rgba(0,0,0,0.03) 90px,        /* Plank 3: Darker */
            transparent 90px,
            transparent 120px             /* Plank 4: Natural */
        );
    
    /* Ensure the pattern stays crisp */
    background-attachment: fixed;
    
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.5em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.form-section {
    margin-bottom: 30px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

#team-search {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#team-search:focus {
    outline: none;
    border-color: #667eea;
}

#team-select {
    width: 100%;
    margin-top: 5px;
    border: 2px solid #ddd;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
}

#team-select option {
    padding: 8px;
    cursor: pointer;
}

#team-select option:hover {
    background-color: #f0f0f0;
}

#selected-team {
    margin-top: 10px;
    padding: 10px;
    background-color: #e8f5e9;
    border-radius: 6px;
    color: #2e7d32;
}

#season {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: white;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-cancel:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    background: #c82333;
}

.btn-cancel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.status-message {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.progress-container {
    position: relative;
    margin-bottom: 10px;
}

.progress-bar {
    width: 0%;
    height: 30px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.result-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: 6px;
}

.success-message {
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-link {
    display: block;
    color: #1976d2;
    text-decoration: none;
    word-break: break-all;
    margin-top: 10px;
}

.result-link:hover {
    text-decoration: underline;
}

.error-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #ffebee;
    border-radius: 6px;
}

.error-message {
    color: #c62828;
    font-weight: 600;
    margin-bottom: 10px;
}

.brand-badge-tab {
    position: fixed;
    bottom: 0;
    left: 20px; /* Positioned on left */
    z-index: 9999;
    
    display: inline-block;
    padding: 6px 14px;
    
    background: white;
    border: 1px solid #e5e7eb;
    border-bottom: none; /* Look like a tab */
    border-radius: 8px 8px 0 0;
    
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace; /* Code font */
    
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    transition: padding-bottom 0.2s ease, color 0.2s ease;
}

.brand-badge-tab:hover {
    padding-bottom: 10px; /* Pop up slightly */
    color: #000;
}

.brand-badge-tab span {
    color: #ef4444; /* Red accent for the heart or symbol */
}

