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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container-full {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    background: white;
    border-radius: 12px;
    padding: 60px 40px;
    margin-top: 80px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #667eea;
}

.tagline {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature {
    padding: 20px;
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #667eea;
}

.btn-primary {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95em;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-link {
    color: #667eea;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #5568d3;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-content h2 {
    color: #667eea;
    font-size: 1.5em;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.tier-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
}

.tier-free {
    background: #e0e0e0;
    color: #666;
}

.tier-paid {
    background: #4caf50;
    color: white;
}

.tier-team {
    background: #ff9800;
    color: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.event-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-card h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.event-type {
    display: inline-block;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 0.85em;
    margin-bottom: 10px;
    color: #666;
}

.event-details {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

.event-form {
    background: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s;
}

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

.help-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.conditional-settings {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.conditional-settings h3 {
    color: #667eea;
    margin-bottom: 20px;
}

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

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
}

.event-header {
    background: white;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-header h1 {
    color: #667eea;
    margin-bottom: 10px;
}

.event-info {
    color: #666;
    font-size: 0.95em;
}

.event-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.map-section {
    flex: 1;
    position: relative;
    background: #f5f5f5;
}

#map-container {
    width: 100%;
    height: 100%;
    background: white;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
}

.control-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background: #667eea;
    color: white;
}

.sidebar {
    width: 350px;
    background: white;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.lobby-section,
.assignments-section {
    padding: 20px;
}

.lobby-section {
    border-bottom: 2px solid #f0f0f0;
}

.lobby-section h3,
.assignments-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-item {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: grab;
    transition: all 0.3s;
}

.user-item:hover {
    background: #ebebeb;
    transform: translateX(5px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.assignments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.table-group {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.table-group h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1em;
}

/* Logo Styles */
.logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Footer Styles */
.footer {
    background: linear-gradient(to right, #1a4d2e, #2d6a4f);
    color: #ffffff;
    margin-top: auto;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95em;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .event-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        max-height: 300px;
    }
    
    .hero {
        padding: 40px 20px;
        margin-top: 40px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .logo-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
