:root {
    --r-cfb-green: #0C7F0B;
    --r-cfb-white: #FBFBFB;
    --r-cfb-black: #0C0F0B;
    --r-cfb-warning: #CD0000;
    --r-cfb-purple: #9C0F9B;
    --r-cfb-gold: #FFD400;
    --r-cfb-orange: #FF4500;
}

body {
    font-family: "Lato", sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

main {
    text-align: center;
    padding: 20px;
}

h2 {
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    max-width: 74%;
    margin-left: auto;
    margin-right: auto;
}

input[type="url"],
input[type="text"],
select {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #218838;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: calc(100% - 20px);
}

input[type="submit"]:hover {
    background-color: #28a745;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    max-width: 300px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08);
}

.autocomplete-items>div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items>div:hover {
    background: #ffeebb;
}

.autocomplete-items>div.autocomplete-active {
    background: #dbdbdb;
}

.tabs {
    max-width: 70%;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: var(--r-cfb-green);
    color: white;
    border-radius: 4px 4px 0 0;
    margin: 0 5px;
}

.tab:hover {
    filter: grayscale(80%);
}

.tab.active {
    filter: brightness(130%);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 600px) {
    .tab {
        padding: 6px 12px;
        font-size: 0.8rem;
        margin: 0 3px;
    }

    .bar b {
        font-size: 75%;
        font-weight: 400;
    }

    form {
        max-width: 100%;
    }
}
