/* کارت‌های لیست مشاوران */
.psy-consultant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.psy-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(12,49,57,0.08);
    padding: 20px;
    text-align: center;
}

.psy-card__img {
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: block;
}

.psy-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.psy-card__img.placeholder {
    color: #6b7a83;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* زمان‌بندی و دکمه‌ها */
.psy-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 24px auto 32px;
    max-width: 640px;
}

.psy-schedule h4 {
    flex: 1 1 100%;
    text-align: center;
    margin: 18px 0 6px;
    font-size: 17px;
    color: #0a4832;
}

.psy-slot {
    flex: 0 1 calc(25% - 12px);
    min-width: 120px;
    padding: 8px 10px;
    background: #e9f6ef;
    color: #0a6d3c;
    border: 1px solid #cfe9da;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.psy-slot:hover {
    background: #d9f0e4;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(10, 109, 60, 0.12);
}

.psy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2dbf64;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s ease;
    min-width: 120px;
    margin-top: 10px;
}

.psy-btn.loading {
    opacity: 0.7;
    cursor: progress;
}

.psy-btn:hover {
    background-color: #24a554;
}

/* پیام‌ها */
.psy-info {
    background: #f0f8ff;
    color: #084c61;
    padding: 10px 12px;
    border-radius: 8px;
}

.psy-error {
    background: #fff0f0;
    color: #b00020;
    padding: 10px 12px;
    border-radius: 8px;
}

/* باکس کارت‌به‌کارت */
.psy-transfer-box {
    background: #f4f7ff;
    border: 1px dashed #6a3ea1;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.psy-transfer-box .label {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.psy-transfer-box .card-number {
    flex: 1;
    text-align: left;
    font-weight: 700;
    color: #1d1d1d;
    letter-spacing: 1px;
    font-family: 'Roboto Mono','Courier New',monospace;
}

/* فرم رزرو کوچک و وسط‌چین */
#psy-checkout-container {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

#psy-checkout-form,
#psy-checkout-result {
    width: clamp(180px, 70vw, 240px);
    margin: 0 auto;
}

#psy-checkout-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #2c3135;
}

#psy-checkout-form input,
#psy-checkout-form textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d6dde3;
    padding: 8px 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

#psy-checkout-form button[type="submit"] {
    width: 100%;
}

/* واکنش‌گرایی */
@media (max-width: 1024px) {
    .psy-slot {
        flex: 0 1 calc(33.333% - 12px);
    }
}

@media (max-width: 720px) {
    .psy-slot {
        flex: 0 1 calc(50% - 12px);
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .psy-slot {
        flex: 0 1 100%;
        font-size: 13px;
        padding: 7px 8px;
    }
}
