/* CSS Variables */
:root {
    --bg-primary: #667eea;
    --bg-secondary: #764ba2;
    --text-white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.3);
    --border-light: rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
    text-align: left;
}

.header-left h1 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: left;
}

.header-left .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 12px;
}

.language-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.language-select option {
    background: var(--bg-secondary);
    color: white;
    padding: 0.5rem;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    padding: 1rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-left h1 {
        font-size: 1.3rem;
    }

    .header-left .subtitle {
        font-size: 0.8rem;
    }

    .main-content {
        padding: 1rem;
    }

    .footer {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .language-select {
        font-size: 0.85rem;
        padding: 0.4rem 1.8rem 0.4rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem;
    }

    .header-left h1 {
        font-size: 1.1rem;
    }

    .header-left .subtitle {
        font-size: 0.75rem;
    }

    .main-content {
        padding: 0.5rem;
    }
}
