* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    min-height: 100vh;
    color: #0f172a;
}


.header {
    background: rgba(15, 23, 42, 0.95);
    color: #f8fafc;
    padding: 30px 20px;
    text-align: center;
}

.header h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
}


.nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}


.container {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}


.container > * {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: fadeIn 0.6s ease;
}


h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
    color: #475569;
}


.form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form label {
    font-weight: 600;
    color: #1e293b;
}

.form input,
.form select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.form input:focus,
.form select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}


.form button {
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.4);
}


.rezultat {
    margin-top: 25px;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 6px solid #2563eb;
    font-weight: 600;
    color: #1e293b;
}


.footer {
    text-align: center;
    padding: 20px;
    color: #cbd5e1;
    font-size: 0.9rem;
}


@media (max-width: 500px) {
    .container > * {
        padding: 25px;
    }

    .header h1 {
        font-size: 1.8rem;
    }
}
