/* Container & Layout */
.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-4 {
    padding: 1rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-5 {
    padding: 1.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

/* Background & Border */
.bg-white {
    background-color: #ffffff;
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.bg-slate-200 {
    background-color: #e2e8f0;
}

.bg-ribbon {
    background-color: #D6B844;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-slate-200 {
    border-color: #e2e8f0;
}

.border-slate-300 {
    border-color: #cbd5e1;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-700 {
    color: #334155;
}

.text-slate-900 {
    color: #0f172a;
}

.text-ribbon {
    color: #D6B844;
}

/* Flexbox & Grid */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

/* Position & Display */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-10 {
    width: 2.5rem;
}

.h-1 {
    height: 0.25rem;
}

.h-2 {
    height: 0.5rem;
}

.h-10 {
    height: 2.5rem;
}

/* Z-index */
.z-10 {
    z-index: 10;
}

.-z-10 {
    z-index: -10;
}

/* Transform */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translateY(-50%);
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

/* Positioning helpers */
.top-1\/2 {
    top: 50%;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

/* Custom classes from form */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.section-title {
    background-color: #f8fafc;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #334155;
    border-bottom: 2px solid #D6B844;
    padding-bottom: 0.5rem;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 0 0.5rem;
}

.step-indicator .circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-indicator .label {
    font-size: 0.75rem;
}

.step-indicator.active .circle {
    background-color: #D6B844;
    border-color: #D6B844;
    color: white;
}

.step-indicator.completed .circle {
    background-color: #D6B844;
    border-color: #D6B844;
    color: white;
    position: relative;
}

.step-indicator.completed .circle::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .max-w-6xl {
        padding: 1rem;
    }
    
    .grid-cols-1 {
        grid-template-columns: 1fr;
    }
    
    .md\:flex {
        display: block;
    }
    
    .md\:hidden {
        display: block !important;
    }
    
    .hidden.md\:flex {
        display: none !important;
    }
    
    .md\:space-x-4 > * + * {
        margin-right: 0;
        margin-top: 1rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
    }
    
    .text-xl {
        font-size: 1.125rem;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .md\:p-8 {
        padding: 1rem;
    }
}

@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .shadow-2xl,
    .shadow-lg {
        box-shadow: none !important;
    }
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
