/* Main app container */
.app-container {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

/* Background container with world map theme */
.world-theme-container {
    background: linear-gradient(135deg, #87ceeb 0%, #98fb98 50%, #f0e68c 100%);
    height: 100vh;
    width: 100vw;
    padding: 5px;
    margin: 0;
    box-sizing: border-box;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Title styling */
.app-title {
    text-align: center;
    color: #1a4b84;
    margin-bottom: 8px;
    font-size: clamp(20px, 5vw, 32px);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Score display */
.score-display {
    text-align: center;
    color: #2d5a27;
    margin-bottom: 8px;
    font-size: clamp(16px, 3.5vw, 20px);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Flag container */
.flag-container-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    width: 100%;
}

.flag-container {
    width: min(300px, 60vw);
    height: min(150px, 20vh);
    border: 3px solid #1a4b84;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.flag-emoji {
    font-size: clamp(50px, 10vw, 80px);
    text-align: center;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

/* Fallback flag container */
.fallback-flag-container {
    width: min(300px, 60vw);
    height: min(150px, 20vh);
    border: 3px solid #1a4b84;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.fallback-country-name {
    color: #1a4b84;
    font-size: clamp(14px, 2.5vw, 20px);
    font-weight: bold;
}

.fallback-flag-text {
    color: #666;
    font-style: italic;
    font-size: clamp(10px, 2vw, 14px);
}

/* Country dropdown section */
.dropdown-section {
    text-align: center;
    margin-bottom: 8px;
}

.dropdown-label {
    font-size: clamp(12px, 2.5vw, 16px);
    font-weight: bold;
    color: #1a4b84;
    margin-bottom: 5px;
    display: block;
}

/* Submit button */
.submit-button {
    background-color: #1a4b84;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: clamp(14px, 2.8vw, 18px);
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #0d2d5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.submit-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Result message */
.result-message {
    text-align: center;
    font-size: clamp(14px, 2.8vw, 18px);
    margin-bottom: 8px;
    font-weight: bold;
    min-height: 20px;
}

/* Next flag button */
.next-flag-button {
    background-color: #8b4513;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: clamp(14px, 2.8vw, 18px);
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.next-flag-button:hover {
    background-color: #6b3410;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* Button container */
.button-container {
    text-align: center;
}

/* Responsive adjustments */
@media (max-height: 600px) {
    .world-theme-container {
        padding: 2px;
    }
    
    .app-title {
        margin-bottom: 4px;
        font-size: clamp(16px, 4vw, 24px);
    }
    
    .score-display {
        margin-bottom: 4px;
        font-size: clamp(14px, 3vw, 18px);
    }
    
    .flag-container-wrapper {
        margin-bottom: 4px;
    }
    
    .dropdown-section {
        margin-bottom: 4px;
    }
    
    .submit-button, .next-flag-button {
        padding: 8px 24px;
        font-size: clamp(12px, 2.5vw, 16px);
    }
} 