.library-main-title {
    margin-top: 80px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1e293b;
    font-size: 28px;
}

.library-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    max-width: 768px;
    margin: 0 auto;
}

.country-compact-card {
    display: block;
    text-decoration: none !important;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    color: inherit;
    height: 100%;
}

.country-compact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.25s ease;
}

.country-compact-card:hover .icon-box {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.text-box {
    flex-grow: 1;
    overflow: hidden;
}

.country-name {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-count {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.arrow-box {
    color: #cbd5e1;
    font-size: 16px;
    transition: all 0.25s ease;
}

.country-compact-card:hover .arrow-box {
    color: #3b82f6;
    transform: translateX(4px);
}

.country-search-form {
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.country-search-form:focus-within {
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15) !important;
    border-color: #3b82f6;
}

.country-search-form .input-group-text {
    border-radius: 50px 0 0 50px;
    padding-left: 20px;
    padding-right: 10px;
    border: none;
}

.country-search-form .form-control {
    box-shadow: none !important;
    height: 50px;
    font-size: 15px;
    border: none;
    background: transparent;
    padding-right: 45px !important;
}

.country-search-form .form-control:focus {
    border-color: #cbd5e1;
}

.country-search-form .btn-primary {
    border-radius: 0 50px 50px 0 !important;
    height: 50px;
    z-index: 4;
}

.country-search-form .btn-primary:hover {
    background-color: #2563eb;
}

.btn-clear-search-circle {
    position: absolute;
    right: 10px; 
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 34px;
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease-in-out;
    padding: 0;
    line-height: 1;
}

.btn-clear-search-circle:hover {
    background-color: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

@media (max-width: 576px) {
    .btn-clear-search-circle {
        right: 100px;
    }
}