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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.designer {
    padding: 30px;
}

.team-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.selector-group {
    display: flex;
    flex-direction: column;
}

.selector-group label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.9em;
    text-transform: uppercase;
}

.selector-group select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.selector-group select:focus {
    outline: none;
    border-color: #667eea;
}

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

.view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.view-toggle button {
    padding: 10px 30px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-toggle button.active {
    background: #667eea;
    color: white;
}

.view-toggle button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
}

#shirtPreview {
    max-width: 400px;
    width: 100%;
}

#shirtPreview svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.customization {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.customization h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
    font-size: 0.9em;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1em;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
}

.export-section {
    text-align: center;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .team-selectors {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2em;
    }

    .preview-container {
        min-height: 300px;
    }
}
