/* Randevu — öğretmen grid (kutu) */
.sa-tutor-page {
    --sa-tf-purple: #7c3aed;
    --sa-tf-purple-dark: #6d28d9;
    --sa-tf-text: #0f172a;
    --sa-tf-muted: #64748b;
    --sa-tf-border: #e8ecf1;
    --sa-tf-bg: #f4f6f9;
    background: var(--sa-tf-bg);
    padding: 1.5rem 0 3rem;
    min-height: 50vh;
}

.sa-tutor-container {
    max-width: 1200px;
}

.sa-tutor-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.sa-tutor-count {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--sa-tf-text);
}

.sa-tutor-sub {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--sa-tf-muted);
}

.sa-tutor-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.sa-tutor-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sa-tf-muted);
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
}

.sa-tutor-check input {
    accent-color: var(--sa-tf-purple);
}

.sa-tutor-select {
    height: 38px;
    min-width: 130px;
    max-width: 200px;
    padding: 0 1.75rem 0 0.75rem;
    border: 1px solid var(--sa-tf-border);
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2364748b' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center;
    appearance: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

/* Grid kutular */
.sa-tutor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1100px) {
    .sa-tutor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sa-tutor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sa-tutor-grid {
        grid-template-columns: 1fr;
    }
}

.sa-tutor-box {
    background: #fff;
    border: 1px solid var(--sa-tf-border);
    border-radius: 16px;
    padding: 1.15rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
    min-height: 100%;
}

.sa-tutor-box:hover {
    border-color: #c4b5fd;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

.sa-tutor-box.has-slots {
    border-color: #ddd6fe;
}

.sa-tutor-box-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f1f5f9;
    margin-bottom: 0.75rem;
    display: block;
    flex-shrink: 0;
}

.sa-tutor-box-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sa-tutor-box-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
}

.sa-tutor-box-body {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.sa-tutor-box-name {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    line-height: 1.3;
}

.sa-tutor-box-name a {
    color: var(--sa-tf-text);
    text-decoration: none;
}

.sa-tutor-box-name a:hover {
    color: var(--sa-tf-purple);
}

.sa-tutor-box-branch {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sa-tf-purple);
    margin: 0 0 0.2rem;
    line-height: 1.35;
}

.sa-tutor-box-lang {
    font-size: 0.72rem;
    color: var(--sa-tf-muted);
    margin: 0 0 0.5rem;
}

.sa-tutor-box-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.sa-tutor-box-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.sa-tutor-box-chip {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.2rem 0.35rem;
    background: #f8fafc;
    border: 1px solid var(--sa-tf-border);
    border-radius: 5px;
    color: var(--sa-tf-text);
    white-space: nowrap;
}

.sa-tutor-box-empty {
    font-size: 0.72rem;
    color: var(--sa-tf-muted);
    margin: 0 0 0.5rem;
}

.sa-tutor-box-btn {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--sa-tf-purple), var(--sa-tf-purple-dark));
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.sa-tutor-box-btn:hover {
    color: #fff !important;
    filter: brightness(1.06);
}

.sa-tutor-empty--full {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed var(--sa-tf-border);
}

.sa-tutor-empty--full i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.sa-tutor-pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}
