/* ABN Registration Form Styles */
#abn-registration-form-container {
    font-family: 'Inter', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    color: #1a1f36;
}

.abn-loader {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #64748b;
}

/* Base Layout */
.abn-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 992px) {
    .abn-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.abn-main-content {
    flex: 1;
    min-width: 0;
}

.abn-sidebar {
    width: 100%;
    position: sticky;
    top: 20px;
}

@media (min-width: 992px) {
    .abn-sidebar {
        width: 340px;
        flex-shrink: 0;
    }
}

/* Header & Intro */
.abn-intro {
    text-align: center;
    margin-bottom: 40px;
}

.abn-intro h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1f36;
    margin: 0 0 10px 0;
}

.abn-intro p {
    font-size: 16px;
    color: #475569;
    margin: 0;
}

/* Package Selection Cards */
.abn-package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .abn-package-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.abn-package-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.abn-package-card.highlight {
    border: 2px solid #ffaf42;
    /* Orange/Yellow */
    background: #fffaf0;
}

.abn-package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.abn-package-title h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #1a1f36;
}

.abn-package-title p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.abn-package-price {
    text-align: right;
}

.abn-package-price .amount {
    font-size: 24px;
    font-weight: 800;
    color: #1a1f36;
    display: block;
}

.abn-package-price .period {
    font-size: 12px;
    color: #64748b;
}

.abn-package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.abn-package-features li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.abn-package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1A1F36;
    /* Yellow/Orange */
    font-weight: bold;
}

.abn-package-features.dark-checks li::before {
    color: #1a1f36;
    /* Dark Navy */
}

.abn-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.abn-btn-primary {
    background: #1a1f36;
    /* Black */
    color: #fff;
}

.abn-btn-primary:hover {
    background: #000;
}

.abn-btn-secondary {
    background: #ffaf42;
    /* Orange */
    color: #fff;
}

.abn-btn-secondary:hover {
    background: #ffaf42;
    opacity: 0.9;
}

/* Progress Steps */
.abn-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.abn-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100px;
}

.abn-step-circle {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.abn-step.active .abn-step-circle {
    background: #ffaf42;
    border-color: #ffaf42;
    color: #fff;
}

.abn-step.completed .abn-step-circle {
    background: #ffaf42;
    border-color: #ffaf42;
    color: #fff;
}

.abn-step-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.abn-step.active .abn-step-label {
    color: #ffaf42;
}

.abn-step.completed .abn-step-label {
    color: #ffaf42;
}

.abn-progress-line {
    position: absolute;
    top: 18px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
    border: none;
    border-top: 2px dashed #cbd5e1;
}

/* Form Sections */
.abn-form-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.abn-form-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1f36;
    margin: 0 0 5px 0;
}

.abn-form-section>p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

/* Form Fields */
.abn-form-group {
    margin-bottom: 20px;
}

.abn-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.abn-form-row .abn-form-group {
    flex: 1;
    margin-bottom: 0;
}

.abn-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1f36;
    margin-bottom: 8px;
}

.abn-label span.req {
    color: #ef4444;
}

.abn-input,
.abn-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    transition: all 0.2s;
    box-sizing: border-box;
}

.abn-input:focus,
.abn-select:focus {
    outline: none;
    border-color: #ffaf42;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.abn-address-group {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

/* Radio Cards (Lodgement, Accounting, Turnover) */
.abn-radio-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 600px) {
    .abn-radio-group.grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.abn-radio-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.abn-radio-card:hover {
    border-color: #ffaf42;
}

.abn-radio-card input[type="radio"] {
    margin-right: 15px;
    accent-color: #ffaf42;
    width: 16px;
    height: 16px;
}

.abn-radio-card span {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.abn-radio-card.active {
    border-color: #ffaf42;
    background: #fffaf0;
}

/* File Upload */
.abn-file-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
}

.abn-file-upload:hover {
    border-color: #ffaf42;
    background: #fffaf0;
}

.abn-file-upload-icon {
    font-size: 24px;
    color: #64748b;
    margin-bottom: 10px;
}

.abn-file-upload-text {
    font-size: 14px;
    color: #1a1f36;
    font-weight: 600;
}

.abn-file-upload-subtext {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
}

#abn-file-input {
    display: none;
}

.abn-file-preview {
    margin-top: 10px;
    font-size: 13px;
    color: #1a1f36;
    font-weight: 600;
    display: none;
}

/* Signature */
.abn-signature-info {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
}

/* Declaration */
.abn-declaration {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.abn-declaration-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.abn-declaration-list li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.abn-declaration-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1a1f36;
    font-weight: bold;
}

.abn-important-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.abn-important-notice h4 {
    margin: 0 0 5px 0;
    color: #92400e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.abn-important-notice p {
    margin: 0;
    color: #92400e;
    font-size: 12px;
}

.abn-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.abn-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #ffaf42;
}

.abn-checkbox-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1f36;
}

.abn-checkbox-group .subtext {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #64748b;
    margin-top: 2px;
}

/* Sidebar Order Summary */
.abn-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.abn-summary-header {
    background: #ffaf42;
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
}

.abn-summary-body {
    padding: 20px;
}

.abn-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #1a1f36;
}

.abn-summary-item.subtotal {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    color: #64748b;
}

.abn-summary-item.gst {
    color: #64748b;
}

.abn-summary-item.total {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 800;
    color: #1a1f36;
}

.abn-summary-item.total .price {
    color: #ffaf42;
    /* Orange total */
}

/* Promo Code */
.abn-promo-box {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
}

.abn-promo-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
}

.abn-promo-btn {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1f36;
    cursor: pointer;
}

/* Trust Badges */
.abn-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.abn-trust-badge {
    background: #fffaf0;
    /* Light yellow background */
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.abn-trust-icon {
    width: 24px;
    height: 24px;
    background: #ffaf42;
    /* Orange icon */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.abn-trust-text h4 {
    margin: 0;
    font-size: 13px;
    color: #1a1f36;
    font-weight: 600;
}

.abn-trust-text p {
    margin: 2px 0 0 0;
    font-size: 11px;
    color: #64748b;
}

/* Support Info */
.abn-support-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.abn-support-info h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #1a1f36;
}

.abn-support-contact {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer Actions */
.abn-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.abn-btn-next {
    background: #ffaf42;
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.abn-btn-next:hover {
    background: #ffaf42;
    opacity: 0.9;
}

/* Add-ons Step */
.abn-addons-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.abn-addon-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.abn-addon-card:hover {
    border-color: #ffaf42;
}

.abn-addon-card.selected {
    border-color: #ffaf42;
    background: #fffaf0;
}

.abn-addon-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #1a1f36;
}

.abn-addon-info p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.abn-addon-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a1f36;
}

/* Utils */
.hidden {
    display: none !important;
}

.abn-error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.has-error .abn-input,
.has-error .abn-select {
    border-color: #ef4444;
}

.has-error .abn-error-message {
    display: block;
}

/* Why toggle chevron rotation */
.abn-why-toggle svg {
    transition: transform 0.2s ease;
}

.abn-why-toggle svg.rotated {
    transform: rotate(180deg);
}

/* Addon card selected with yellow border */
.abn-addon-card.selected {
    border-color: #ffaf42;
    background: #fffaf0;
}