/**
 * BOOKKEEPING SERVICES STYLING
 * Matches the new 1st image design structure for Step 1
 */

#bookkeeping-form-container {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1f36;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
    box-sizing: border-box;
}

#bookkeeping-form-container * {
    box-sizing: border-box;
}

.bookkeeping-form-wrapper {
    padding: 40px;
}

.acc-loader {
    padding: 60px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffaf42;
}



/* STEPPER */
.bookkeeping-stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    padding: 0 40px;
}

.bookkeeping-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
    text-align: center;
}

.bookkeeping-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s;
}

.bookkeeping-step-label-wrap {
    text-align: center;
}

.bookkeeping-step-label {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
}

.bookkeeping-step-subtitle {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.bookkeeping-step-line {
    position: absolute;
    height: 2px;
    background: #e2e8f0;
    top: 20px;
    left: calc(50% + 25px);
    width: calc(100% - 50px);
    z-index: 1;
}

.bookkeeping-step-item.active .bookkeeping-step-circle {
    background: #ffaf42;
    border-color: #ffaf42;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 122, 33, 0.25);
}

.bookkeeping-step-item.active .bookkeeping-step-label {
    color: #ffaf42;
}

.bookkeeping-step-item.completed .bookkeeping-step-circle {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}

.bookkeeping-step-item.completed .bookkeeping-step-label {
    color: #22c55e;
}

/* MAIN FORM GRID */
.bookkeeping-container-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.bookkeeping-plans-container-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.bookkeeping-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.bookkeeping-step-box {
    animation: fadeIn 0.4s ease-out;
}

/* FORM FIELDS */
.bookkeeping-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.bookkeeping-field-wrap {
    display: flex;
    flex-direction: column;
}

.bookkeeping-field-wrap.full {
    width: 100%;
}

.bookkeeping-field-wrap.half {
    width: calc(50% - 10px);
}

.bookkeeping-field-label {
    font-size: 12.5px;
    font-weight: 800;
    color: #475569;
    margin-bottom: 8px;
}

.bookkeeping-input,
.bookkeeping-select {
    border: 1.5px solid #cbd5e1;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1f36;
    outline: none;
    transition: border-color 0.2s;
    background: white;
}

.bookkeeping-input::placeholder {
    color: #cbd5e1;
}

.bookkeeping-input:focus,
.bookkeeping-select:focus {
    border-color: #ffaf42;
}

/* CHECKBOX */
.bookkeeping-custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookkeeping-custom-checkbox.checked {
    background: #ffaf42;
    border-color: #ffaf42;
}

.bookkeeping-custom-checkbox::after {
    content: '✓';
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    display: none;
}

.bookkeeping-custom-checkbox.checked::after {
    display: block;
}

/* BUTTONS */
.bookkeeping-continue-btn {
    transition: all 0.25s ease;
}

.bookkeeping-continue-btn:hover:not(.disabled) {
    background: #fca326 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 122, 33, 0.35);
}

.bookkeeping-continue-btn.disabled {
    background: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.bookkeeping-back-btn {
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.bookkeeping-back-btn:hover {
    border-color: #94a3b8;
    color: #1a1f36;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .bookkeeping-container-grid {
        grid-template-columns: 1fr;
    }

    .bookkeeping-plans-container-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bookkeeping-landing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .bookkeeping-step1-controls {
        flex-direction: column;
        gap: 20px;
        align-items: stretch !important;
    }

    .bookkeeping-plans-container-grid {
        grid-template-columns: 1fr !important;
    }

    .bookkeeping-landing-grid {
        grid-template-columns: 1fr !important;
    }

    .bookkeeping-field-wrap.half {
        width: 100%;
    }

    .bookkeeping-form-wrapper {
        padding: 10px !important;
    }

    .bookkeeping-stepper {
        padding: 0;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 30px;
        padding-bottom: 20px;
    }

    .bookkeeping-step-item {
        flex: 0 0 auto;
    }

    .bookkeeping-step-line {
        display: none;
    }
}