/*
Theme Name: Helsinki Badminton Meetup
Description: A custom theme for Helsinki Badminton Meetup participant lists and name mapping
Version: 1.0
Author: Custom Development
*/

/* Shared styles for both pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: #1e3a8a;
    color: white;
    padding: 40px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.content {
    padding: 40px;
}

/* Participant list specific styles */
.lists-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.list-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid;
}

.social-list {
    border-left-color: #28a745;
}

.competitive-list {
    border-left-color: #dc3545;
}

.list-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-title::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.social-list .list-title::before {
    background: #28a745;
}

.competitive-list .list-title::before {
    background: #dc3545;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.participant {
    background: white;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    color: #495057;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.participant:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.empty-message {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

.participation-button {
    background: white;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    color: #495057;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-size: inherit;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participation-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.participation-button.not-going {
    background: #f8f9fa;
    color: #6c757d;
}

.info-section {
    background: #e3f2fd;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.info-section h3 {
    color: #1976d2;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #1976d2;
}

.info-item h4 {
    color: #1976d2;
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    color: #495057;
    font-size: 0.95rem;
}

.customer-mapping-link {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.customer-mapping-link:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.hidden {
    display: none !important;
}

/* Name mapping specific styles */
.upload-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.upload-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.file-input {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.file-input:hover {
    border-color: #007cba;
}

.file-input input[type="file"] {
    margin-bottom: 15px;
}

.submit-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #218838;
}

.status-section {
    margin-bottom: 30px;
}

.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .lists-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .content {
        padding: 20px;
    }
    
    .participants-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
} 