﻿:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --bg-color: #f4f7f6;
}

body {
    background-color: var(--bg-color);
    font-family: 'Tahoma', sans-serif;
}

/* Progress Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

    /* خط بین دایره‌ها */
    .step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20px; /* وسط دایره */
        right: 50%;
        width: 100%;
        height: 2px;
        background-color: #dee2e6;
        z-index: 0;
    }

.step-dot {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #6c757d;
    z-index: 1;
    transition: all 0.3s ease;
}

    .step-dot.active {
        border-color: #0d6efd;
        background-color: #0d6efd;
        color: #fff;
    }

    .step-dot.completed {
        border-color: #198754;
        background-color: #198754;
        color: #fff;
    }

.step-label {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.step-item.active .step-label {
    color: #0d6efd;
    font-weight: bold;
}

/* Selection Cards */
.selection-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

    .selection-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    }

    .selection-card.active {
        border-color: var(--primary-color);
        background-color: #f0f7ff;
    }

    .selection-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .selection-card .card-title {
        padding: 15px;
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

/* Weight Cards Design */
.weight-card {
    border: 2px solid #eee;
    border-radius: 18px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    height: 100%;
}

    .weight-card:hover {
        border-color: var(--primary-color);
    }

    .weight-card.active {
        border-color: var(--primary-color);
        background-color: #f0f7ff;
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
    }

.weight-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.weight-title {
    font-weight: bold;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.weight-range {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Services */
.service-item {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: 0.2s;
    cursor: pointer;
    padding: 15px;
}

    .service-item:hover {
        background-color: #f8f9fa;
    }

    .service-item input[type="checkbox"] {
        transform: scale(1.4);
        cursor: pointer;
    }

/* Utilities */
.btn-back {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .btn-back:hover {
        color: var(--primary-color);
    }

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.d-none {
    display: none !important;
}
.mt-50{
    margin-top:50px !important;
}
.mr-20{
    margin-right:20px !important;
}

.unknown-breed-wrapper {
    width: 100%;
}

.unknown-breed-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 18px 20px;
    border-radius: 18px;
    cursor: pointer;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 117, 252, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .unknown-breed-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
        pointer-events: none;
    }

    .unknown-breed-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(37, 117, 252, 0.35);
    }

.unknown-breed-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(6px);
}

.unknown-breed-content {
    flex: 1;
    text-align: right;
}

    .unknown-breed-content h5 {
        font-weight: 700;
        margin-bottom: 4px;
    }

    .unknown-breed-content p {
        font-size: 0.9rem;
        opacity: 0.9;
    }

.unknown-breed-arrow {
    font-size: 1.2rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.unknown-breed-card:hover .unknown-breed-arrow {
    transform: translateX(-4px);
}
.unknown-breed-card.selected {
    transform: scale(0.98);
    box-shadow: 0 10px 24px rgba(37, 117, 252, 0.28);
}
/* کانتینر دکمه برای فاصله مناسب */
.next-step-wrapper {
    padding-bottom: 20px;
}

.btn-next-service {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    border: none;
    border-radius: 50px; /* حالت کپسولی */
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); /* هماهنگ با کارت نژاد */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(37, 117, 252, 0.4);
    text-decoration: none;
}

/* متن دکمه */
.btn-text {
    z-index: 2;
}

/* آیکن دکمه */
.btn-icon {
    margin-right: 15px;
    font-size: 1.4rem;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* افکت نورانی متحرک در پس‌زمینه */
.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
    transition: 0.5s;
    z-index: 1;
}

/* افکت‌های Hover و Active */
.btn-next-service:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(37, 117, 252, 0.5);
}

    .btn-next-service:hover .btn-glow {
        left: 100%;
        transition: 0.7s;
    }

    .btn-next-service:hover .btn-icon {
        transform: translateX(-5px);
    }

.btn-next-service:active {
    transform: translateY(0) scale(0.97);
}

/* ریسپانسیو برای موبایل */
@media (max-width: 576px) {
    .btn-next-service {
        width: 100%; /* در موبایل تمام عرض باشد */
        padding: 14px 20px;
        font-size: 1.1rem;
    }
}
.step-item .step-dot.completed {
    cursor: pointer;
    transition: all 0.3s ease;
}

    /* افکت هاور برای راهنمایی کاربر */
    .step-item .step-dot.completed:hover {
        transform: scale(1.1);
        background-color: #2575fc; /* همان رنگ برند شما */
        box-shadow: 0 0 10px rgba(37, 117, 252, 0.5);
    }
