﻿:root {
    --green: #7AB700;
    --green-dark: #006A4B;
    --bg: #F6F8F7;
    --surface: #fff;
    --text: #1F2937;
    --muted: #6B7280;
    --border: #E5E7EB;
    --ring: rgba(28,154,99,.18);
    --radius: 16px;
}

/* Canvas */
.recovery-hero {
    background: radial-gradient(900px 520px at 14% 84%, #eaf7f0 0%, transparent 65%), radial-gradient(720px 420px at 86% 12%, #eefaf3 0%, transparent 55%), var(--bg);
    padding: 40px 0;
    text-align: left;
    width: 100%;
    min-height: 70vh;
}

.recovery-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Card */
.recovery-card {
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 1px 0 rgba(16,24,40,.02), 0 1px 2px rgba(16,24,40,.06);
    width: 100%;
    max-width: 900px; /* širina kao na figmi */
}

.recovery-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-dark);
    margin: 0 0 8px;
}

.recovery-subtitle {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 16px;
}

/* Form */
.recovery-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.field label {
    display: block;
    font-size: 12px;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 600;
}

    .field label span {
        color: var(--green-dark);
    }

.input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .input::placeholder {
        color: #9CA3AF;
    }

    .input:focus {
        border-color: var(--green-dark);
        box-shadow: 0 0 0 4px var(--ring);
    }

.val-msg {
    display: block;
    color: #B45309;
    font-size: 12px;
    margin-top: 4px;
}

/* Alerts */
.alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}

    .alert.success {
        background: #ECFDF5;
        color: #065F46;
        border: 1px solid #A7F3D0;
    }

    .alert.error {
        background: #FEF2F2;
        color: #991B1B;
        border: 1px solid #FECACA;
    }

/* Button */
.btn-primary {
    margin-top: 6px;
    width: 100%;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--green), #6EB31F);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .08s ease, filter .15s ease;
}

    .btn-primary:hover {
        filter: brightness(1.02);
        background:var(--green-dark);
    }

    .btn-primary:active {
        transform: translateY(1px);
    }

/* Responsive—tri preview širine kao na figmi */
@media (min-width: 640px) {
    .recovery-card {
        max-width: 400px;
    }
}

@media (min-width: 960px) {
    .recovery-card {
        max-width: 400px;
    }
}

@media (min-width: 1200px) {
    .recovery-card {
        max-width: 600px;
    }
}
