/* ===== TECHNICIAN CARDS ===== */
.tech-hero { background: var(--navy-dark); padding: 44px 24px; text-align: center; }
.tech-hero h1 { color:#fff; font-size:30px; margin-bottom:8px; }
.tech-hero p { color: rgba(255,255,255,0.75); max-width:560px; margin:0 auto; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 260px));
    gap: 20px;
    margin-top: 8px;
    justify-content: start;
}
.tech-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-border);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.tech-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.12); }
.tech-photo-wrap { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--gray-bg); overflow: hidden; }
.tech-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-photo-wrap .tech-noimg { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color: var(--gray-border); font-size: 42px; }
.tech-verified-badge {
    position: absolute; top: 10px; left: 10px;
    background: #fff; border-radius: 50%;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,.25);
    color: #16a34a; font-weight: 700; font-size: 14px;
}
.tech-body { padding: 12px 14px 8px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.tech-name { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.tech-location { font-size: 13px; color: var(--text-light); }
.tech-desc {
    font-size: 13px; color: var(--text-light); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.tech-price { font-size: 13px; font-weight: 700; color: var(--orange); margin-top: 2px; }
.tech-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border-top: 1px solid var(--gray-border); gap: 10px;
}
.tech-footer-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tech-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; flex-shrink: 0; overflow: hidden;
}
.tech-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tech-footer-name { font-size: 13px; font-weight: 600; color: var(--navy); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tech-call-btn {
    background: var(--orange); color: #fff;
    padding: 8px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 700; white-space: nowrap;
}
.tech-call-btn:hover { background: var(--orange-light); }

.tech-empty { text-align: center; padding: 60px 20px; color: var(--text-light); }
.tech-empty a { color: var(--orange); font-weight: 700; }

.tech-cta-register {
    margin-top: 36px; padding: 26px; background: var(--gray-bg);
    border-radius: 8px; text-align: center;
}
.tech-cta-register a.btn-primary { display:inline-block; margin-top: 10px; }

/* ===== REGISTRATION FORM ===== */
.tech-form-wrap { max-width: 640px; margin: 0 auto; padding: 44px 24px 60px; }
.tech-form-wrap h1 { color: var(--navy); font-size: 26px; margin-bottom: 8px; }
.tech-form-wrap .tech-sub { color: var(--text-light); margin-bottom: 24px; }
.tech-form label { display: block; font-weight: 600; color: var(--navy); margin: 16px 0 6px; font-size: 14px; }
.tech-form input[type=text], .tech-form input[type=tel], .tech-form textarea, .tech-form select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--gray-border);
    border-radius: 6px; font-family: inherit; font-size: 15px; background:#fff;
}
.tech-form textarea { min-height: 100px; resize: vertical; }
.tech-form input[type=file] { margin-top: 4px; }
.tech-submit-btn {
    margin-top: 26px; background: var(--orange); color: #fff; border: none;
    padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 16px;
    cursor: pointer; font-family: inherit;
}
.tech-submit-btn:hover { background: var(--orange-light); }
.tech-success { background: #e8f7ee; border: 1px solid #16a34a; color: #15803d; padding: 20px; border-radius: 8px; text-align: center; margin-bottom: 24px; }
.tech-error { background: #fdeaea; border: 1px solid #dc2626; color: #b91c1c; padding: 14px; border-radius: 8px; margin-bottom: 16px; }
.tech-required { color: #dc2626; }

/* ===== ADMIN ===== */
.tech-admin-wrap { max-width: 1100px; margin: 0 auto; padding: 30px 20px 60px; font-family: Arial, sans-serif; }
.tech-admin-wrap h1 { color: var(--navy); }
.tech-admin-section { margin-top: 30px; }
.tech-admin-section h2 { font-size: 18px; color: var(--navy); border-bottom: 2px solid var(--gray-border); padding-bottom: 8px; }
.tech-admin-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
.tech-admin-table th, .tech-admin-table td { border: 1px solid var(--gray-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.tech-admin-table th { background: var(--gray-bg); }
.tech-admin-table img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.tech-admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tech-btn { display:inline-block; padding: 6px 10px; border-radius: 4px; font-size:12px; font-weight:700; text-decoration:none; border:none; cursor:pointer; font-family:inherit; }
.tech-btn-approve { background:#16a34a; color:#fff; }
.tech-btn-reject { background:#f59e0b; color:#fff; }
.tech-btn-delete { background:#dc2626; color:#fff; }
.tech-btn-edit { background: var(--navy); color:#fff; }
.tech-status-pending { color:#b45309; font-weight:700; }
.tech-status-approved { color:#15803d; font-weight:700; }
.tech-status-rejected { color:#b91c1c; font-weight:700; }
.tech-admin-form { background:#fff; border:1px solid var(--gray-border); padding:20px; border-radius:8px; margin-top: 16px; max-width: 520px; }
.tech-admin-form label { display:block; font-weight:600; margin: 12px 0 4px; font-size: 13px; }
.tech-admin-form input, .tech-admin-form textarea, .tech-admin-form select { width:100%; padding:8px; border:1px solid var(--gray-border); border-radius:4px; font-family:inherit; }

/* ===== CARD LINK (whole photo+body clickable, footer call button stays separate) ===== */
.tech-card-link { display: contents; color: inherit; text-decoration: none; cursor: pointer; }
.tech-card-link:hover .tech-name { color: var(--orange); }

/* ===== TECHNICIAN PROFILE PAGE ===== */
.tech-profile-wrap { max-width: 820px; margin: 0 auto; padding: 30px 20px 60px; }
.tech-back-link { display: inline-block; margin-bottom: 18px; color: var(--text-light); font-size: 14px; text-decoration: none; }
.tech-back-link:hover { color: var(--orange); }
.tech-profile-card {
    background: #fff; border: 1px solid var(--gray-border); border-radius: 14px;
    overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.tech-profile-photo { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--gray-bg); overflow: hidden; }
.tech-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tech-profile-photo .tech-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gray-border); font-size: 60px; }
.tech-profile-body { padding: 22px 26px 26px; }
.tech-profile-category {
    display: inline-block; background: var(--gray-bg); color: var(--navy);
    font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 10px;
}
.tech-profile-name { font-size: 26px; color: var(--navy); margin: 0 0 8px; }
.tech-profile-price { margin-top: 6px; font-size: 15px; }
.tech-profile-desc-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gray-border); }
.tech-profile-desc-section h2 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.tech-profile-desc-section p { font-size: 14px; color: var(--text-light); line-height: 1.65; white-space: pre-line; }
.tech-profile-contact {
    margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-border);
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.tech-profile-contact-who { display: flex; align-items: center; gap: 12px; }
.tech-avatar-lg { width: 52px; height: 52px; font-size: 18px; }
.tech-call-btn-lg { padding: 12px 22px; font-size: 15px; border-radius: 24px; }

/* ===== PROFILE PHOTO GALLERY STRIP ===== */
.tech-gallery {
    display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
    scroll-snap-type: x mandatory; background: #fff;
    border-top: 1px solid var(--gray-border);
}
.tech-gallery-item {
    flex: 0 0 auto; width: 110px; aspect-ratio: 4 / 3;
    border-radius: 8px; overflow: hidden; scroll-snap-align: start;
    display: block; border: 1px solid var(--gray-border);
}
.tech-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== ADMIN: photo management thumbnails ===== */
.tech-admin-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.tech-admin-photo-item { position: relative; width: 90px; }
.tech-admin-photo-item img { width: 90px; height: 68px; object-fit: cover; border-radius: 6px; border: 1px solid var(--gray-border); display: block; }
.tech-admin-photo-item label { display: flex; align-items: center; gap: 4px; font-size: 11px; margin-top: 4px; font-weight: 400; color: #b91c1c; }
