* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Navigation Bar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 26px;
    height: 3px;
    background: #667eea;
    border-radius: 10px;
    display: block;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.nav-dropdown {
    position: relative;
}
.nav-dropbtn {
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
}
.nav-dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    z-index: 100;
    padding: 8px;
}
.nav-dropdown-content a {
    display: block;
    padding: 8px 10px;
}
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.navbar-links a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.navbar-links a:hover {
    background: #667eea;
    color: white;
}

.nav-dropbtn:hover {
    background: #e3f2fd;
    border-color: #667eea;
}

.navbar-links a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Container */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    width: 100%;
    padding: 40px;
    margin: 0 auto;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2em;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Language Selector */
.lang-selector {
    margin-left: auto;
}

.lang-toggle {
    background: white;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

.lang-flag {
    font-size: 1.2em;
}

.lang-text {
    font-size: 0.9em;
}

/* Buttons */
button, .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

button:active, .btn:active {
    transform: translateY(0);
}

button:disabled, .btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

input[type="text"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #667eea;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Info Box */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.info-box p {
    color: #1565c0;
    font-size: 14px;
    line-height: 1.6;
}

/* Loading */
.loading {
    text-align: center;
    color: #667eea;
    font-weight: 600;
    margin-top: 20px;
    display: none;
}

.loading.active {
    display: block;
}

/* Error Message */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
}

.error-message.active {
    display: block;
}

/* Success Message */
.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
}

.success-message.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
    }

    .navbar {
        padding: 15px;
        position: relative;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-links {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        display: none;
        position: absolute;
        left: 0;
        top: 60px;
        background: rgba(255,255,255,0.98);
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateX(-10px);
        z-index: 50;
    }

    .navbar.navbar-open .navbar-links {
        display: flex;
        animation: slideIn 0.2s ease forwards;
    }
    .nav-dropdown-content {
        position: static;
        box-shadow: none;
        padding: 0;
    }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.site-footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.95em;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
}
