:root {
	--primary-color: #c02afe;
	--primary-hover: #562afe;
--error-color: #ef4444;
--text-main: #1f2937;
--text-muted: #6b7280;
--border-color: #e5e7eb;
--bg-surface: #ffffff;
--bg-background: #f9fafb;
}

/* Card & Layout */
.ar-package-card {
border: 1px solid var(--border-color);
border-radius: 16px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
background: var(--bg-surface);
height: 100%;
display: flex;
flex-direction: column;
}

.ar-package-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
border-color: var(--primary-color);
}

.ar-price {
color: var(--text-main);
letter-spacing: -0.025em;
font-weight: 800;
}

.card-title {
color: var(--text-main);
font-size: 1.25rem;
}

.ar-package-get-started {
font-weight: 600;
border-radius: 8px;
padding: 10px;
margin-top: auto;
}

/* Stepper */
.ar-stepper-wrapper {
max-width: 600px;
margin: 0 auto 2rem;
    position: relative;
}

.ar-stepper {
display: flex;
justify-content: space-between;
position: relative;
margin-bottom: 2rem;
    padding: 0;
}

.ar-stepper::before {
content: '';
position: absolute;
top: 15px;
left: 0;
right: 0;
height: 2px;
background: var(--border-color);
z-index: 0;
    transform: scaleX(0.9); /* Prevent line from poking out */
}

.ar-step-item {
position: relative;
z-index: 1;
background: transparent;
display: flex;
flex-direction: column;
align-items: center;
border: none;
padding: 0;
transition: all 0.3s ease;
cursor: default;
width: auto;
    flex: 1;
}

.ar-step-circle {
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--bg-surface);
border: 2px solid var(--border-color);
color: var(--text-muted);
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 14px;
transition: all 0.3s ease;
    z-index: 2;
}

.ar-step-label {
margin-top: 8px;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
text-align: center;
}

/* Active State */
.ar-step-item.is-active .ar-step-circle {
border-color: var(--primary-color);
background: var(--primary-color);
color: #fff;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.ar-step-item.is-active .ar-step-label {
color: var(--primary-color);
}

/* Done State */
.ar-step-item.is-done .ar-step-circle {
background: var(--success-color);
border-color: var(--success-color);
color: #fff;
}

.ar-step-item.is-done .ar-step-label {
color: var(--success-color);
}

/* Form Styles */
.ar-stage-panel {
display: none;
animation: slideIn 0.4s ease-in-out;
}

.ar-stage-panel.is-active {
display: block;
}

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

.form-group label {
font-size: 0.875rem;
font-weight: 600;
color: var(--text-main);
margin-bottom: 0.5rem;
}

.form-control {
border-radius: 8px;
border: 1px solid var(--border-color);
padding: 0.625rem 1rem;
font-size: 0.95rem;
transition: all 0.2s;
min-height: 46px;
}

.form-control:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Payment Option Cards */
.payment-choice-card {
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 1rem;
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
transition: all 0.2s;
background: #fff;
}

.payment-choice-card:hover {
border-color: var(--primary-hover);
background: #f9fafb;
}

.payment-choice-card input[type="radio"]:checked + span {
color: var(--primary-color);
font-weight: 600;
}

/* Setup Timeline */
.setup-timeline {
position: relative;
padding-left: 20px;
padding-top: 10px;
padding-bottom: 10px;
}

.setup-timeline::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 8px;
width: 2px;
background: #e5e7eb;
}

.setup-step {
position: relative;
margin-bottom: 2rem;
padding-left: 24px;
background: transparent;
border: none;
    list-style: none;
}

.setup-step:last-child {
margin-bottom: 0;
}

.setup-step-icon {
position: absolute;
left: 0;
top: 4px;
width: 18px;
height: 18px;
border-radius: 50%;
background: #fff;
border: 2px solid #d1d5db;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
transition: all 0.3s ease;
}

.setup-step[data-status="in-progress"] .setup-step-icon {
border-color: var(--primary-color);
background: var(--primary-color);
color: white;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.setup-step[data-status="done"] .setup-step-icon {
border-color: var(--success-color);
background: var(--success-color);
color: white;
}

.setup-step[data-status="error"] .setup-step-icon {
border-color: var(--error-color);
background: var(--error-color);
color: white;
}

.setup-title {
font-size: 1rem;
font-weight: 600;
margin: 0 0 2px;
color: var(--text-main);
}

.setup-msg {
font-size: 0.85rem;
color: var(--text-muted);
margin: 0;
}

.setup-step[data-status="in-progress"] .setup-msg {
    color: var(--primary-color);
}

.ar-radio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .ar-radio-grid {
        grid-template-columns: 1fr;
    }
}

.spin-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin { 
    100% { transform: rotate(360deg); } 
}

/* Improved Package Card Styles */
.ar-package-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
}

.ar-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-circle {
    background-color: #f3f4f6;
    transition: all 0.3s ease;
}

.ar-package-card:hover .icon-circle {
    background-color: #e0e7ff;
    color: var(--primary-color) !important;
}

.lh-140 {
    line-height: 1.4;
}

.transition-all {
    transition: all 0.3s ease;
}

.ar-package-get-started {
    border-width: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: white;
    border-color: var(--primary-color);
}

.ar-package-get-started:hover {
    background: linear-gradient(45deg, #c02afe, #562afe);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(192, 42, 254, 0.4);
}

/* Override Bootstrap Custom Controls for Theme Consistency */
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(192, 42, 254, 0.25);
}

.btn-primary {
    background: linear-gradient(45deg, #c02afe, #562afe);
    border-color: #c02afe;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #a71bdc, #451bdc);
    border-color: #a71bdc;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-hover);
}
