body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #d4af37;
    /* Golden color for the heading */
}

.search-box {
    max-width: 600px;
    margin: 0 auto 20px;
}

.result-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid #d4af37;
    /* Golden border */
    transition: box-shadow 0.3s, transform 0.3s;
}

.result-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.result-card strong {
    color: #d4af37;
    /* Golden color for labels */
}

.result-card a {
    color: #d4af37;
    font-weight: bold;
    text-decoration: none;
    background-color: #fff;
    border: 2px solid #d4af37;
    border-radius: 5px;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

.result-card a:hover {
    background-color: #d4af37;
    color: #fff;
}

.position {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    background-color: #d4af37;
    /* Dark golden color for position box */
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.result-card table th,
.result-card table td {
    text-align: center;
}

/* Table Styling */
.result-card table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    animation: fadeInUp 1s ease-out;
}

.result-card table thead {
    background-color: #d4af37;
    /* Dark golden color for header background */
    color: #fff;
    /* White text color for headers */
}

.result-card table th,
.result-card table td {
    border: 1px solid #d4af37;
    /* Dark golden border */
    padding: 12px;
}

.result-card table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
    /* Light grey background for even rows */
}

.result-card table tbody tr:hover {
    background-color: #d4af37;
    /* Dark golden background on hover */
    color: #fff;
    /* White text color on hover */
}

/* Icons */
.icon {
    font-size: 16px;
    margin-right: 8px;
}

.icon-position {
    font-size: 24px;
    margin-right: 8px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Flag icons */
.flag-icon {
    width: 2em;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.flag-icon {
    line-height: 2em;
}