/* Popcorns HireFlow - base styling */

:root {
    --hf-primary: #8b3ffb;
    --hf-sand: #fbece1;
    --hf-accent: #ffc107;
    --hf-text: #333333;
    --hf-muted: #666666;
    --hf-line: #ead8ca;
    --hf-white: #ffffff;
    --hf-bg: #fff9f5;
    --hf-success: #e9f7ef;
    --hf-success-border: #b7dfc6;
    --hf-error: #fff0f0;
    --hf-error-border: #e7baba;
    --hf-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    --hf-radius: 20px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--hf-text);
    background: var(--hf-bg);
}

a {
    color: var(--hf-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hf-shell {
    min-height: 100vh;
}

.hf-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 32px;
    background: var(--hf-white);
    border-bottom: 1px solid var(--hf-line);
}

.hf-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hf-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--hf-primary);
    color: var(--hf-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.hf-brand-name {
    font-size: 20px;
    font-weight: 700;
}

.hf-brand-subtitle {
    font-size: 13px;
    color: var(--hf-muted);
    margin-top: 2px;
}

.hf-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hf-main {
    max-width: 1160px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.hf-auth-wrap {
    max-width: 520px;
    margin: 50px auto 0;
}

.hf-card {
    background: var(--hf-white);
    border: 1px solid var(--hf-line);
    border-radius: var(--hf-radius);
    box-shadow: var(--hf-shadow);
    padding: 26px;
}

.hf-auth-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff6ef 100%);
}

.hf-kicker {
    display: inline-block;
    background: #fff4c8;
    color: #7a5b00;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.hf-title {
    font-size: 32px;
    line-height: 1.1;
    margin: 0 0 12px;
}

.hf-subtitle {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.hf-text-muted,
.hf-note {
    color: var(--hf-muted);
    line-height: 1.55;
}

.hf-note {
    margin-top: 14px;
    font-size: 13px;
}

.hf-form {
    margin-top: 18px;
}

.hf-form-group {
    margin-bottom: 16px;
}

.hf-form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.hf-form-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d7c4b8;
    border-radius: 14px;
    background: var(--hf-sand);
    color: var(--hf-text);
    font-size: 15px;
}

.hf-form-group input:focus {
    outline: none;
    border-color: var(--hf-primary);
    box-shadow: 0 0 0 3px rgba(139, 63, 251, 0.12);
}

.hf-form-actions {
    margin-top: 20px;
}

.hf-btn {
    display: inline-block;
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.hf-btn-primary {
    background: var(--hf-primary);
    color: var(--hf-white);
}

.hf-flash-wrap {
    margin-bottom: 20px;
}

.hf-flash {
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

.hf-flash-success {
    background: var(--hf-success);
    border-color: var(--hf-success-border);
}

.hf-flash-error {
    background: var(--hf-error);
    border-color: var(--hf-error-border);
}

.hf-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.hf-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.hf-stat {
    background: #fffaf7;
    border: 1px solid var(--hf-line);
    border-radius: 16px;
    padding: 14px;
}

.hf-stat-label {
    color: var(--hf-muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.hf-stat-value {
    font-weight: 700;
}

.hf-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}

.hf-table-wrap {
    overflow-x: auto;
}

.hf-table {
    width: 100%;
    border-collapse: collapse;
}

.hf-table th,
.hf-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--hf-line);
    vertical-align: top;
}

.hf-table th {
    font-size: 13px;
    color: var(--hf-muted);
}

@media (max-width: 900px) {
    .hf-grid {
        grid-template-columns: 1fr;
    }

    .hf-stat-grid {
        grid-template-columns: 1fr;
    }

    .hf-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
