body {
    background-color: #f8f9fa;
}

.navbar {
    background-color: var(--primary-bg) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--text-white) !important;
}

.btn-stitchify {
    background-color: var(--accent-color);
    color: var(--text-white);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.btn-stitchify:hover {
    background-color: #142038;
    color: var(--text-white);
    transform: translateY(-1px);
}

.page-hero {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-bg));
    padding: 50px 0 40px;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

.search-wrap {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-wrap input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-wrap i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--copyright-bg);
}

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-count {
    font-size: 14px;
    color: var(--copyright-bg);
}

.tailor-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
    border: 2px solid transparent;
}

.tailor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.card-top {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-bg));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tailor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.card-top-info h5 {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 4px;
}

.specialization-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
}

.slot-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
}

.slot-available {
    background: rgba(56, 142, 60, 0.25);
    color: #4caf50;
    border: 1px solid rgba(56, 142, 60, 0.3);
}

.slot-full {
    background: rgba(220, 53, 69, 0.25);
    color: #ef5350;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.card-body-custom {
    padding: 18px 20px;
}

.stats-row {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-right: 1px solid #e0e0e0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-lbl {
    font-size: 0.72rem;
    color: var(--copyright-bg);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #555;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.btn-view-profile {
    display: block;
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-bg));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-top: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-view-profile:hover {
    color: white;
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(27, 42, 74, 0.3);
}

.btn-view-profile.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--copyright-bg);
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.2;
    display: block;
    margin-bottom: 20px;
}

footer {
    background: var(--primary-bg);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}