/* Frontend styles for Mapa vzgojnega ukrepanja */

.mvu-form-wrapper {
    max-width: 960px;
    margin: 0 auto 3rem auto;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.mvu-form-title {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.mvu-form-intro {
    margin-top: 0;
    margin-bottom: 1.8rem;
    color: #555;
}

.mvu-section {
    margin-bottom: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eee;
}

.mvu-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.mvu-section-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.mvu-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.mvu-field {
    flex: 1 1 220px;
    min-width: 0;
}

.mvu-field-full {
    flex: 1 1 100%;
}

.mvu-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #222;
}

.mvu-input,
.mvu-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.mvu-input:focus,
.mvu-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
    background-color: #fff;
}

.mvu-textarea {
    resize: vertical;
    min-height: 80px;
}

.mvu-help {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: #777;
}

.mvu-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.mvu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.mvu-button-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.mvu-button-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
}

.mvu-button-primary:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.45);
}

.mvu-notice {
    max-width: 960px;
    margin: 0 auto 1.5rem auto;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.mvu-notice-success {
    background: #ecfdf3;
    border: 1px solid #22c55e;
    color: #166534;
}

/* Responsivnost */
@media (max-width: 768px) {
    .mvu-form-wrapper {
        padding: 1.5rem 1.25rem;
    }

    .mvu-row {
        flex-direction: column;
        gap: 0.75rem;
    }
}
