/* ovw-career-portal.css - Version 2.0 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,600&display=swap');

:root {
    --ovw-ink: #1e1b16;
    --ovw-muted: #5a5347;
    --ovw-accent: #0c6b5f;
    --ovw-accent-2: #d97706;
    --ovw-card: #ffffff;
    --ovw-border: rgba(30, 27, 22, 0.12);
    --ovw-shadow: 0 20px 60px rgba(12, 107, 95, 0.15);
    --ovw-focus: rgba(12, 107, 95, 0.25);
    --ovw-surface: #f8f6f0;
    --ovw-danger: #b42318;
    --ovw-success: #067647;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.ovw-career-portal {
    position: relative;
    max-width: 820px;
    margin: 3rem auto;
    padding: 2.5rem 1.25rem;
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    color: var(--ovw-ink);
}

.ovw-career-portal::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background:
        radial-gradient(1200px 420px at 8% -10%, rgba(12, 107, 95, 0.18), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(217, 119, 6, 0.14), transparent 60%),
        linear-gradient(180deg, #fdfbf6 0%, #f3f1ea 100%);
    z-index: 0;
}

.ovw-card {
    position: relative;
    z-index: 1;
    background: var(--ovw-card);
    border-radius: 22px;
    padding: 2.75rem;
    border: 1px solid var(--ovw-border);
    box-shadow: var(--ovw-shadow);
}

.ovw-details {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.ovw-form {
    margin-top: 0;
    display: grid;
    gap: 0.4rem;
}

.ovw-form label {
    display: block;
    margin: 1.1rem 0 0.35rem;
    font-weight: 600;
    color: var(--ovw-ink);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ovw-form input[type="text"],
.ovw-form input[type="email"],
.ovw-form input[type="tel"],
.ovw-form select,
.ovw-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(30, 27, 22, 0.16);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--ovw-surface);
    color: var(--ovw-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ovw-form input:focus,
.ovw-form select:focus,
.ovw-form textarea:focus {
    outline: none;
    border-color: var(--ovw-accent);
    box-shadow: 0 0 0 4px var(--ovw-focus);
    background: #ffffff;
}

.ovw-form input[type="file"] {
    width: 100%;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--ovw-muted);
}

.ovw-form button[type="submit"] {
    width: 100%;
    padding: 1.05rem 1.2rem;
    background: linear-gradient(135deg, var(--ovw-accent), #149f8a);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ovw-form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(12, 107, 95, 0.25);
}

.ovw-form button[type="submit"]:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ovw-notice {
    color: var(--ovw-danger);
    font-weight: 600;
    margin: 0.5rem 0 0.8rem;
    padding: 0.6rem 0.8rem;
    background: rgba(180, 35, 24, 0.08);
    border-radius: 10px;
    display: none;
}

#ovw-message {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
}

.ovw-success {
    background: rgba(6, 118, 71, 0.12);
    color: var(--ovw-success);
    border: 1px solid rgba(6, 118, 71, 0.25);
}

.ovw-error {
    background: rgba(180, 35, 24, 0.12);
    color: var(--ovw-danger);
    border: 1px solid rgba(180, 35, 24, 0.25);
}

@media (max-width: 900px) {
    .ovw-career-portal {
        padding: 2rem 1rem;
    }

    .ovw-card {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .ovw-career-portal {
        margin: 2rem auto;
        padding: 1.5rem 0.85rem;
    }

    .ovw-card {
        padding: 1.6rem;
        border-radius: 18px;
    }

    .ovw-form label {
        font-size: 0.9rem;
    }

    .ovw-form button[type="submit"] {
        font-size: 1rem;
        padding: 0.95rem 1rem;
    }
}
