/* 
 * Balaggan Visa Manager Styles
 * Premium, modern, glassmorphism UI
 */

:root {
    --bv-primary: #091057;
    --bv-primary-hover: #024caa;
    --bv-bg: #f8fafc;
    --bv-card-bg: #ffffff;
    --bv-text: #2b2b2b;
    --bv-text-light: #535349;
    --bv-border: #e1e1e1;
    --bv-success: #10b981;
    --bv-danger: #ef4444;
    --bv-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --bv-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bv-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Figtree', sans-serif;
    color: var(--bv-text);
}

/* Filter Bar */
.bv-filter-bar {
    background: var(--bv-card-bg);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--bv-shadow);
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--bv-border);
}

.bv-filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.bv-filter-group label {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--bv-text);
}

.bv-select-wrapper {
    position: relative;
    width: 100%;
}

.bv-select-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--bv-text-light);
    pointer-events: none;
}

.bv-country-select {
    width: 100%;
    appearance: none;
    background-color: var(--bv-bg);
    border: 1px solid var(--bv-border);
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--bv-text);
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.bv-country-select:focus {
    border-color: var(--bv-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Grid Layout */
.bv-visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Visa Card */
.bv-visa-card {
    background: var(--bv-card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--bv-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--bv-border);
    display: flex;
    flex-direction: column;
}

.bv-visa-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bv-shadow-hover);
}

.bv-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--bv-border);
    background: var(--bv-bg);
}

.bv-country-badge {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bv-primary);
}

.bv-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bv-status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--bv-success);
}

.bv-status-closed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--bv-danger);
}

.bv-card-body {
    padding: 24px;
    flex-grow: 1;
}

.bv-visa-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--bv-text);
}

.bv-status-notes {
    font-size: 0.9rem;
    color: var(--bv-text-light);
    margin: 0 0 16px 0;
    font-style: italic;
}

.bv-price-tag {
    background: var(--bv-bg);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bv-price-label {
    font-size: 0.85rem;
    color: var(--bv-text-light);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bv-price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bv-primary);
}

.bv-requirements-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--bv-text);
    padding: 12px 0;
    border-top: 1px solid var(--bv-border);
    transition: color 0.2s ease;
}

.bv-requirements-toggle:hover {
    color: var(--bv-primary);
}

.bv-requirements-toggle svg {
    transition: transform 0.3s ease;
}

.bv-requirements-toggle.is-open svg {
    transform: rotate(180deg);
}

.bv-requirements-content {
    display: none;
    padding-top: 12px;
    animation: fadeIn 0.3s ease;
}

.bv-req-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.bv-req-list li {
    font-size: 0.9rem;
    color: var(--bv-text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.bv-req-list li svg {
    flex-shrink: 0;
    margin-right: 8px;
    margin-top: 2px;
}

.bv-additional-notes {
    font-size: 0.85rem;
    background: rgba(37, 99, 235, 0.05);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid var(--bv-primary);
    color: var(--bv-text-light);
}

.bv-card-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--bv-border);
    background: var(--bv-bg);
}

.bv-btn-apply {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--bv-primary);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.bv-btn-apply:hover {
    background: var(--bv-primary-hover);
    color: white;
}

.bv-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--bv-text-light);
    background: var(--bv-card-bg);
    border-radius: 12px;
    border: 1px dashed var(--bv-border);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .bv-visa-grid {
        grid-template-columns: 1fr;
    }
}
