/*
Theme Name: Coching Registry
Theme URI: https://coachingregistry.com/
Author: Your Name
Description: A minimal custom WordPress theme with basic templates.
Version: 1.0
*/

    /* Coach Cards */

    #coaches-results .card {
        border-radius: 12px;
        transition: all 0.25s ease;
        border: 1px solid #e9ecef;
        background: rgba(0, 0, 0, 0.04);
    }

    #coaches-results .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        background: rgba(0, 0, 0, 0.08);
    }

    #coaches-results .card .btn-outline-primary {
        background: #FFFFFF;
        border: 1px solid #0d61a7;
        color:#0d61a7;
    }

    #coaches-results .card .btn-outline-primary:hover {
        background: #0d61a7;
        border: 1px solid #0d61a7;
        color:#FFFFFF;
    }

    /* Coach Name */

    #coaches-results .card-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    /* Small info rows */

    #coaches-results .card-body .small {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
    }

    /* Icons */

    #coaches-results .card-body i {
        color: #6c757d;
        font-size: 0.9rem;
    }

    /* Pagination */

    .pagination .page-link {
        border-radius: 6px;
        margin: 2px;
        min-width: 36px;
        text-align: center;
    }

    .pagination .page-item.active .page-link {
        background: #0d61a7;
        border-color: #0d61a7;
    }

    /* Filter card */

    #coach-search-form input,
    #coach-search-form select {
        border-radius: 8px;
    }

    /* Clear link */

    #clear-filters {
        font-size: 0.85rem;
    }

    #clear-filters:hover {
        text-decoration: underline;
    }

    /* Letter */

    #alphabet-filter a {
        font-weight: 500;
        text-decoration: none;
        color: #0d61a7;
    }

    #alphabet-filter a:hover {
        text-decoration: underline;
    }

    /* Alphabet Filter */

    .alphabet-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 20px;
    }

    .alphabet-filter .alphabet-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 8px;
        background: #f8f9fa;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        color: #495057;
        transition: all 0.2s ease;
    }

    .alphabet-filter .alphabet-link:hover {
        background: #e9ecef;
    }

    .alphabet-filter .alphabet-link.active {
        background: #0d61a7;
        color: white !important;
    }

    .alphabet-filter .alphabet-all {
        width: auto;
        padding: 0 12px;
    }

    /* Autocomplete */

    .autocomplete-wrapper {
        position: relative;
    }

    .autocomplete-results {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        display: none;
        max-height: 260px;
        overflow-y: auto;
    }

    .autocomplete-item {
        padding: 10px 14px;
        cursor: pointer;
        font-size: 14px;
    }

    .autocomplete-item:hover {
        background: #f3f4f6;
    }

    .page-link {
        color: #0d61a7;
    }

    .is-invalid {
        border-color: #dc3545;
    }

    .coach-search-widget .form-control,
    .coach-search-widget .form-select {
        border-radius: 6px;
    }

    .coach-search-widget .btn {
        padding: 10px;
        font-weight: 500;
    }