/* متغیرهای رنگی و تنظیمات پایه */
.hc-auth-wrapper {
    --c-primary: #BE7241;
    --c-gold: #C99E33;
    --c-dark-blue: #0A244F;
    --c-beige: #EAE3D3;
    --c-light: #FDF9EE;
    
    background-color: #ffffff;
    border-radius: 24px;
    color: var(--c-dark-blue);
    font-family: inherit;
    line-height: 1.7;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 36, 79, 0.05);
}

.hc-auth-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hc-auth-section {
    padding: 60px 30px;
}

.hc-auth-bg-light {
    background-color: var(--c-light);
    border-radius: 24px;
    margin: 0 20px;
}

.hc-auth-section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--c-primary);
    margin-bottom: 40px;
    font-weight: bold;
}

/* بنر اصلی */
.hc-auth-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding: 40px 30px;
    background-color: var(--c-dark-blue);
    color: #ffffff;
    border-radius: 24px 24px 0 0;
}

.hc-auth-hero-content {
    flex: 1;
    min-width: 300px;
}

.hc-auth-title {
    font-size: 2rem;
    color: var(--c-gold);
    margin-bottom: 20px;
}

.hc-auth-hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 24px;
    overflow: hidden;
}

.hc-auth-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ویژگی‌ها */
.hc-auth-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.hc-auth-feature-card {
    background: #ffffff;
    border: 1px solid var(--c-beige);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hc-auth-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(190, 114, 65, 0.1);
    border-color: var(--c-primary);
}

.hc-auth-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.hc-auth-snapp-icon-wrap img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 2px solid var(--c-beige);
}

/* تایم‌لاین */
.hc-auth-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hc-auth-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 25px;
    width: 2px;
    background: var(--c-beige);
}

.hc-auth-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.hc-auth-step:last-child {
    margin-bottom: 0;
}

.hc-auth-step-number {
    width: 50px;
    height: 50px;
    background-color: var(--c-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 1;
    border: 4px solid var(--c-light);
}

.hc-auth-step-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 25px;
    margin-right: 20px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--c-beige);
}

.hc-auth-step-content h3 {
    color: var(--c-primary);
    margin-bottom: 10px;
}

/* آکاردئون */
.hc-auth-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hc-auth-acc-item {
    border: 1px solid var(--c-beige);
    border-radius: 24px;
    overflow: hidden;
}

.hc-auth-acc-header {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 20px 25px;
    text-align: right;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--c-dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.hc-auth-acc-header:hover {
    background: var(--c-light);
}

.hc-auth-acc-icon {
    color: var(--c-primary);
    font-size: 1.5rem;
}

.hc-auth-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    background: var(--c-light);
    padding: 0 25px;
}

.hc-auth-acc-item.active .hc-auth-acc-body {
    max-height: 200px;
    padding: 20px 25px;
}

.hc-auth-acc-item.active .hc-auth-acc-header {
    border-bottom: 1px solid var(--c-beige);
    color: var(--c-primary);
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .hc-auth-hero { padding: 30px 20px; }
    .hc-auth-timeline::before { right: 20px; }
    .hc-auth-step-number { width: 40px; height: 40px; font-size: 1rem; }
    .hc-auth-step-content { margin-right: 15px; padding: 15px; }
}
