/* ============================================
   BESTERZ HIRINGS — Dark Professional Theme
   ============================================ */

.bz-hiring-wrap {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #e2e8f0;
    background: #0f1117;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

/* Header */
.bz-header {
    background: linear-gradient(135deg, #6C5CE7 0%, #a855f7 100%);
    padding: 28px 32px;
}

.bz-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bz-logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bz-brand {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.bz-tagline {
    margin: 2px 0 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.bz-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.bz-visit-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

/* Tabs */
.bz-tabs {
    display: flex;
    background: #161922;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0;
}

.bz-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    font-family: inherit;
}

.bz-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #6C5CE7;
    border-radius: 3px;
    transition: width 0.25s;
}

.bz-tab:hover {
    color: #e2e8f0;
    background: rgba(108,92,231,0.05);
}

.bz-tab.active {
    color: #fff;
    background: rgba(108,92,231,0.08);
}

.bz-tab.active::after {
    width: 60%;
}

.bz-tab-icon {
    font-size: 20px;
}

.bz-tab-label {
    letter-spacing: -0.3px;
}

/* Form Panels */
.bz-form-panel {
    display: none;
    padding: 32px;
    animation: bzFadeIn 0.3s ease;
}

.bz-form-panel.active {
    display: block;
}

@keyframes bzFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Title */
.bz-form-title {
    margin-bottom: 28px;
}

.bz-form-title h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.bz-form-title p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

/* Grid */
.bz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

/* Section Title */
.bz-section-title {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6C5CE7;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(108,92,231,0.15);
}

.bz-section-title:first-child {
    margin-top: 0;
}

/* Fields */
.bz-field {
    margin-bottom: 18px;
}

.bz-field.full-width {
    grid-column: 1 / -1;
}

.bz-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.bz-required {
    color: #f87171;
}

.bz-hint {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

/* Inputs */
.bz-field input[type="text"],
.bz-field input[type="email"],
.bz-field input[type="tel"],
.bz-field input[type="url"],
.bz-field input[type="date"],
.bz-field select,
.bz-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: #1e2130;
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.bz-field input:focus,
.bz-field select:focus,
.bz-field textarea:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
    background: #222639;
}

.bz-field input::placeholder,
.bz-field textarea::placeholder {
    color: #475569;
}

.bz-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.bz-field select option {
    background: #1e2130;
    color: #e2e8f0;
}

.bz-field textarea {
    resize: vertical;
    min-height: 90px;
}

/* File Input */
.bz-field input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    background: #1e2130;
    border: 1.5px dashed rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.bz-field input[type="file"]:hover {
    border-color: #6C5CE7;
    background: #222639;
}

/* Submit Button */
.bz-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 32px;
    margin-top: 24px;
    background: linear-gradient(135deg, #6C5CE7 0%, #a855f7 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    letter-spacing: -0.3px;
}

.bz-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(108,92,231,0.35);
}

.bz-submit-btn:active {
    transform: translateY(0);
}

.bz-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bz-btn-loader svg {
    animation: bzSpin 1s linear infinite;
}

@keyframes bzSpin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.bz-success {
    padding: 60px 32px;
    text-align: center;
    animation: bzFadeIn 0.4s ease;
}

.bz-success-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.bz-success h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.bz-success p {
    color: #94a3b8;
    font-size: 15px;
    margin: 0 0 24px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.bz-footer {
    background: #0c0e14;
    padding: 16px 32px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.bz-footer p {
    margin: 0;
    font-size: 12px;
    color: #475569;
}

.bz-footer a {
    color: #6C5CE7;
    text-decoration: none;
    font-weight: 600;
}

.bz-footer a:hover {
    color: #a855f7;
}

/* Error message */
.bz-error-msg {
    background: rgba(248,113,113,0.1);
    border: 1px solid rgba(248,113,113,0.3);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 14px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .bz-hiring-wrap {
        margin: 20px 12px;
        border-radius: 12px;
    }

    .bz-header {
        padding: 20px;
    }

    .bz-form-panel {
        padding: 20px;
    }

    .bz-grid {
        grid-template-columns: 1fr;
    }

    .bz-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bz-brand {
        font-size: 19px;
    }

    .bz-tab {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .bz-hiring-wrap {
        margin: 12px 4px;
    }

    .bz-form-panel {
        padding: 16px;
    }
}

/* ============================================
   HIRING CLOSED PAGE
   ============================================ */

.bz-closed-content {
    padding: 60px 32px;
    text-align: center;
    animation: bzFadeIn 0.5s ease;
}

.bz-closed-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.bz-closed-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(108,92,231,0.08);
    border-radius: 50%;
    animation: bzPulse 2s ease-in-out infinite;
}

@keyframes bzPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.bz-closed-svg {
    position: relative;
    z-index: 1;
}

.bz-closed-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.bz-closed-message {
    font-size: 15px;
    color: #94a3b8;
    margin: 0 auto 32px;
    max-width: 480px;
    line-height: 1.6;
}

.bz-closed-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.bz-closed-divider::before,
.bz-closed-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.bz-closed-divider span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.bz-closed-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.bz-closed-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.bz-closed-link:hover {
    background: rgba(108,92,231,0.1);
    border-color: rgba(108,92,231,0.3);
    color: #fff !important;
    transform: translateY(-2px);
}

.bz-closed-link svg {
    flex-shrink: 0;
}

/* Notify Me Section */
.bz-closed-notify {
    max-width: 440px;
    margin: 0 auto;
}

.bz-closed-notify-text {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px;
}

.bz-notify-form {
    display: flex;
    gap: 8px;
}

.bz-notify-input {
    flex: 1;
    padding: 10px 14px;
    background: #1e2130;
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.bz-notify-input:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
}

.bz-notify-input::placeholder {
    color: #475569;
}

.bz-notify-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6C5CE7, #a855f7);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.bz-notify-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108,92,231,0.3);
}

.bz-notify-success {
    font-size: 13px;
    color: #10b981;
    margin-top: 10px;
}

/* Closed page responsive */
@media (max-width: 480px) {
    .bz-closed-content {
        padding: 40px 20px;
    }

    .bz-closed-title {
        font-size: 22px;
    }

    .bz-notify-form {
        flex-direction: column;
    }

    .bz-closed-links {
        flex-direction: column;
        align-items: center;
    }
}
