.bic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Anek Devanagari', sans-serif; /* Apply global font */
}

.bic-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.bic-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.bic-input-root {
    position: relative;
    width: 100%;
}

.bic-input, .bic-dropdown {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
    font-family: 'Anek Devanagari', sans-serif; /* Apply global font */
}

.bic-input:focus, .bic-dropdown:focus {
    border-color: #007bff;
}

.bic-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Anek Devanagari', sans-serif; /* Apply global font */
}

.bic-button:hover {
    background: #0056b3;
}

.bic-bank-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    display: none;
}

.bic-bank-dropdown li {
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Anek Devanagari', sans-serif; /* Apply global font */
    font-size: 13px; /* Set dropdown font size to 13px */
}

.bic-bank-dropdown li:hover {
    background: #f0f0f0;
}

.bic-table-container {
    margin-top: 20px;
}

.bic-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ddd;
}

.bic-table th, .bic-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-family: 'Anek Devanagari', sans-serif; /* Apply global font */
}

.bic-table th {
    background: #f4f4f4;
    font-weight: bold;
}

.bic-table tr:hover {
    background: #f9f9f9;
}

.bic-error {
    color: #dc3545;
    font-size: 16px;
    margin-top: 10px;
    font-family: 'Anek Devanagari', sans-serif; /* Apply global font */
}

.bic-clear-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: none;
}

.bic-clear-btn svg {
    fill: #666;
}

.bic-clear-btn:hover svg {
    fill: #333;
}

.bic-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.bic-card {
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.bic-card:hover {
    transform: translateY(-2px);
}

.bic-card p {
    margin: 8px 0;
    font-size: 13px; /* Font size already set to 13px */
    display: flex;
    align-items: center;
    font-family: 'Anek Devanagari', sans-serif; /* Apply global font */
}

.bic-card p strong {
    display: inline-block;
    width: 100px;
    color: #333;
    flex-shrink: 0;
}

.bic-card p span {
    flex: 1;
    text-align: left;
}

.bic-ifsc-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.bic-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.bic-copy-btn svg {
    width: 16px;
    height: 16px;
    fill: #666;
}

.bic-copy-btn:hover svg {
    fill: #007bff;
}

.bic-copy-btn.copied svg {
    fill: #28a745;
}

.bic-copy-btn:focus {
    outline: none;
}

@media (max-width: 767px) {
    .bic-form {
        flex-direction: column;
    }

    .bic-search-wrapper {
        width: 100%;
        min-width: unset;
    }

    .bic-card-container {
        grid-template-columns: 1fr;
    }
}