.login-required-btn {
    background-color: #f87171;
    color: white;
    border: none;
    padding: 10px 16px;       /* Increased padding */
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    white-space: nowrap;      /* 💡 Prevent wrapping */
    min-width: 160px;         /* 💡 Slightly wider button */
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}
.login-required-btn:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: normal;
    max-width: 160px;
    text-align: center;
    z-index: 100;
    opacity: 1;
}

/* ========== BASE BUTTON ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: inherit;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    padding: 10px 16px;
    cursor: pointer;
    white-space: nowrap;
    min-width: 0;
    text-align: center;
}
/* ========== COACH CARD BUTTONS ========== */
.btn-coach {
    min-width: 220px;
}

@media (max-width: 768px) {
    .btn-coach {
        min-width: 0;
        width: 100%;
    }
}
/* Special styles inside coach card buttons */
.btn-primary {
    background-color: #0073e6;
    color: white;
}
.btn-primary:hover {
    background-color: #005bb5;
}
.btn-secondary {
    background-color: #666;
    color: white;
    cursor: not-allowed;
}
.btn-wait {
    position: relative;
}
.btn-wait:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: normal;
    max-width: 180px;
    text-align: center;
    z-index: 100;
}
.btn-secondary:hover {
    background-color: #444;
}
.btn-remove {
    background-color: #e74c3c;
    color: white;
}
.btn-remove:hover {
    background-color: #c0392b;
}
.btn-pro {
    background-color: #575757;
    color: white;
    position: relative; /* Required for tooltip positioning */
}
.btn-pro:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: normal;
    max-width: 160px;
    text-align: center;
    z-index: 100;
    opacity: 1;
}
/* ========== FILTER BUTTONS ========== */
.btn-filter-apply {
    background-color: #0073e6;
    color: white;
}
.btn-filter-apply:hover {
    background-color: #005bb5;
}
.btn-filter-clear {
    background-color: #d84949;
    color: white;
}
.btn-filter-clear:hover {
    background-color: #aa3a3a;
}
.btn-filter-apply,
.btn-filter-clear {
    font-size: 0.9rem; /* 👈 shrink font just for these two */
}
/* ========== AUTH BUTTONS (Login/Logout) ========== */
.btn-auth {
    background-color: #0073e6;
    color: white;
}
.btn-auth:hover {
    background-color: #005bb5;
}
/* ========== SEARCH BUTTONS ========== */
.btn-search {
    background-color: #34d399; /* light green */
    color: white;
    font-size: 0.95rem;
    padding: 9px 8px
}
.btn-search:hover {
    background-color: #059669;
}
/* ========== NAVIGATION BUTTONS ========== */
.btn-nav {
    background-color: #007bff;
    color: white;
}
.btn-nav:hover {
    background-color: #0056b3;
}
.btn-plan {
    background-color: #0073e6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}
.btn-plan:hover {
    background-color: #005bb5;
}