body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #e8f4fc 100%);
    min-height: 100vh;
    color: #1e293b;
}

.page-auth .container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.registration-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border-radius: 20px 20px 0 0;
}

.registration-card fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.registration-card legend {
    font-weight: 600;
    font-size: 1.65rem;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.registration-card .form-label {
    font-weight: 500;
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.registration-card .form-control {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fafafa;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.registration-card .form-control:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.registration-card .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
    background: #fff;
}

.registration-card .form-control::placeholder {
    color: #94a3b8;
}

.registration-card .select2-container--default .select2-selection--single {
    height: calc(1.5em + 1.5rem + 2px) !important;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fafafa;
}

.registration-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding-left: 0;
    color: #1e293b;
}

.registration-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 1.5rem);
    right: 0.75rem;
}

.registration-card .select2-container--default.select2-container--open .select2-selection--single,
.registration-card .select2-container--default .select2-selection--single:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: #fff;
}

.registration-card .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.registration-card .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.registration-card .btn-primary:active {
    transform: translateY(0);
}

.registration-card .auth-links {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.registration-card .auth-links p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #64748b;
}

.registration-card .auth-links p:last-child {
    margin-bottom: 0;
}

.lin {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.lin:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.lin-uvod {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lin-uvod:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    text-decoration: none;
}

@media (max-width: 576px) {
    .registration-card {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
    }

    .registration-card legend {
        font-size: 1.4rem;
    }
}
