html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Number list container */
.number-list {
    display: flex;
    flex-wrap: wrap; /* wrap to next line */
    list-style: none; /* remove default bullets */
    padding: 0;
    margin: 0;
}

    /* Individual number items */
    .number-list li {
        margin: 6px 12px; /* spacing between items */
    }

    /* Links / number boxes */
    .number-list a {
        text-decoration: none;
        padding: 8px 14px;
        border: 1px solid #dee2e6; /* soft border */
        border-radius: 8px;
        display: inline-block;
        background-color: #ffffff; /* pastel white background */
        color: #495057; /* text color */
        font-weight: 500;
        transition: all 0.2s ease-in-out;
    }

        /* Hover effect */
        .number-list a:hover {
            background-color: #e3f2fd; /* pastel blue hover */
            border-color: #0d6efd; /* subtle accent */
            color: #0d6efd;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }



   


/* Base pastel colors */
body {
    background-color: #f8f9fa;
    color: #343a40;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    color: #495057;
}

    a:hover {
        color: #007bff;
    }

/* Navbar pastel theme */
.navbar {
    background-color: #e3f2fd;
}

.navbar-brand {
    font-weight: bold;
    color: #0d6efd !important;
}

.nav-link {
    margin-right: 15px;
}

/* Country cards / grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.country-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .country-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

    .country-card h3 {
        margin-bottom: 10px;
        color: #0d6efd;
    }

    .country-card p {
        margin: 0;
        font-size: 0.95rem;
        color: #495057;
    }


    .country-card a {
        text-decoration: none;
        color: #333;
    }


/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: #0d6efd;
}
.country-index-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background-color: #ffffff; /* white card */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    /* Headings */
    .country-index-container h1 {
        color: #0d6efd; /* pastel blue heading */
        font-weight: 600;
    }

    /* Lead paragraph */
    .country-index-container p.lead {
        font-size: 1.1rem;
        color: #495057;
    }

/* Input group styling */
.input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.input-group .btn-primary {
    border-radius: 0 8px 8px 0;
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: background-color 0.2s ease-in-out;
}

    .input-group .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0b5ed7;
    }

/* Prefix list styling */
.prefix-list {
    margin-top: 15px;
    flex-wrap: wrap;
}

    .prefix-list li {
        margin: 6px 12px;
    }

.prefix-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background-color: #e3f2fd; /* pastel blue */
    color: #0d6efd;
    text-decoration: none;
    border: 1px solid #cfe2ff;
    transition: all 0.2s ease-in-out;
}

    .prefix-link:hover {
        background-color: #cfe2ff;
        border-color: #0d6efd;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

/* Responsive adjustments */
@media (max-width: 576px) {
    .prefix-list li {
        margin: 5px 6px;
    }

    .input-group {
        flex-direction: column;
    }

        .input-group .form-control,
        .input-group .btn-primary {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 6px;
        }
}

/* Footer */
footer {
    background-color: #f8f9fa; /* light pastel gray */
    color: #495057; /* subtle text color */
    font-size: 0.9rem;
    padding: 20px 0;
    border-top: 1px solid #dee2e6; /* subtle top border */
    text-align: center;
}

    footer a {
        color: #0d6efd; /* same as navbar brand */
        text-decoration: none;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: #0a58ca; /* darker shade on hover */
            text-decoration: underline;
        }

    footer p {
        margin: 0;
    }

/* Optional: Make footer links inline for smaller screens */
@media (max-width: 576px) {
    footer a {
        display: block;
        margin: 5px 0;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    color: #212529;
    padding: 15px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #dee2e6;
    z-index: 1050;
    display: none; /* hidden by default */
}

    .cookie-consent a {
        color: #0d6efd;
        text-decoration: underline;
    }