* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #131313;
    line-height: 1.2;
    color: #333;
    margin: 0;
    height: 100vh;
}

.header {
    position: relative;
    overflow: hidden;
    width: 100%;
    /*max-height: 1rem;*/
    margin-top: 1rem;
}

h1 {
    text-align: center;
    color: #b9b9b9;
    margin-bottom: 30px;
}

.controls-container {
    max-width: 610px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 10px
}

.search-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-container input {
    padding: 10px;
    border: 1px solid #1f1f1f;
    border-radius: 5px;
    font-size: 16px;
    flex: 1;
    background-color: #1f1f1f;
    color: #b9b9b9;
    outline: none;
}

.search-container input:focus {
    border: 3px solid #cc9933;
}

.search-container button {
    padding: 10px 20px;
    background: #cc9933;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.search-container button:hover {
    background: #c68c10;
}

.controls-buttons {
    display: flex;
    flex-direction: row-reverse;
}

.entries-wrapper {
    flex-grow: 1;
    max-width: 1400px;
    margin: 0 auto;
    max-height: calc(100vh - 37rem);
    overflow-y: auto;
    overflow-x: hidden;
}

.entries {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.entry {
    width: 100%;
    background: #1f1f1f;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    cursor: pointer;
}

.entry-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.entry-v2-title {
    height: 10%;
}

.entry-v2-content-container {
    display: flex;
    flex-direction: row;
    gap: 10%;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.entry-v2-party-logo {
    width: 50%;
    display: flex;
    flex-direction: row-reverse;
}

.entry-v2-party-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    border: 2px solid #333;
}

.entry-v2-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    /*width: 20rem;*/
}

.entry-v2-content-party-name {
    margin: 8px 0 !important;
    word-wrap: anywhere;
}

.entry-v2-content-year {
    font-size: 1.5rem !important;
}

.entry-v2-content-amount {
    font-size: 1.5rem !important;
}

.entries-tiles-wrapper {
    display: flex;
    flex-grow: 1;
    max-width: 1400px;
    margin: 0 auto;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-left: 6px;
    padding-right: 6px;
}

.entry-tile-wrapper-of-container {
    border: 1px dashed #ddd;
    width: 14rem;
    padding: 0 !important;
    margin: 0;
}

.entry-tile-container {
    opacity: 0.6;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.entry-tile-selected {
    border: 2px solid #c68c10;
}

.entry-tile-container h3 {
    text-align: center;
}

.entry-tile-container p {
    font-size: 2rem !important;
}

.entry-tile-hide {
    display: none;
}

.entry:hover {
    transform: translateY(-5px);
}

.entry h3 {
    margin: 0;
    color: #b9b9b9;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.entry h2 {
    margin: 0;
    color: #b9b9b9;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.entry p {
    margin: 8px 0;
    color: #fff;
    font-size: 14px;
}

.entry-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.entry-footer a {
    color: #3498db;
    text-decoration: none;
}

.entry-footer a:hover {
    text-decoration: underline;
}

.document-link {
    word-wrap: anywhere;
}

.link {
    color: #b8b8b8;
}

.link:hover {
    color: #ffffff;
}

.select2-container {
    min-height: 32px;
    font-size: 16px !important;
}

.select2-selection--single {
    border: none !important;
    background-color: #1f1f1f !important;
    min-height: 32px;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    border-radius: 0 !important;
}

.select2-dropdown {
    background-color: #1f1f1f !important;
}

.select2-selection__rendered {
    font-size: 16px;
    color: #b9b9b9 !important;
    line-height: 32px;
    padding-right: 16px;
}

.select2-selection__placeholder {
    color: #b9b9b9 !important;
    line-height: 32px;
}

.select2-results__option {
    color: #b9b9b9 !important;
}

.select2-selection__arrow {
    height: 30px !important;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-selection__arrow b {
    border-color: #888 transparent transparent transparent !important;
    border-width: 4px 3px 0 3px !important;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.select2-container--default .select2-selection--single:hover {
    /*background: linear-gradient(135deg, #5e35b1 0%, #3949ab 100%);*/
}

.select2-container--default .select2-selection--single:hover .select2-selection__rendered {
    /*color: white;*/
}

.select2-container--default .select2-selection--single:hover .select2-selection__placeholder {
    /*color: #e0e0e0;*/
}

.select2-container--default .select2-selection--single:hover .select2-selection__arrow b {
    /*border-color: white transparent transparent transparent !important;*/
}

.select2-container--default .select2-selection--single {
    height: 44px;
    border: 1px solid #1f1f1f !important;
    border-radius: 5px !important;
}

.select2-selection__rendered{
    padding-top: 5px;
}

.select2-selection__arrow {
    padding-top: 46px;
}

.select2-selection__placeholder {
    /*padding: 10px !important;*/
}

button.select2-selection__clear {
    color: #b9b9b9;
}

.select2-dropdown {
    /*border: 1px solid #ccc !important;*/
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /*border-radius: 0 !important;*/

    padding: 10px;
    border: 1px solid #cc9933 !important;
    border-radius: 5px !important;
}

.select2-search__field {
    /*font-family: 'Source Sans Pro', sans-serif;*/
    font-size: 0.8rem;
    border: 1px solid #ccc !important;
    padding: 0.3rem;
    background: white;
    color: #333;
    min-height: 32px;
    display: flex;
    align-items: center;
    border-radius: 5px !important;
}

.select2-results__option {
    /*font-family: 'Source Sans Pro', sans-serif;*/
    font-size: 16px;
    padding: 0.3rem;
    color: #333;
    line-height: 1.2;
    display: flex;
    align-items: center;
    min-height: 32px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    /*background: linear-gradient(135deg, #5e35b1 0%, #3949ab 100%) !important;*/
    background-color: #cc9933 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.select2-results__option[aria-selected="true"] {
    background: #e8e8e8 !important;
    color: #333;
    font-weight: normal;
}

.select2-search, .select2-search--dropdown {
    display: none;
}

.divider {
    position: relative;
    margin-top: 15px;
    margin-bottom: 5px;
    height: 1px;
}

.div-transparent:before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    width: 90%;
    height: 1px;
    background-image: linear-gradient(to right, transparent, #b9b9b9, transparent);
}

.div-dot:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -9px;
    left: calc(50% - 9px);
    width: 18px;
    height: 18px;
    background-color: #cc9933;
    border: 1px solid rgb(48,49,51);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px white,
    0 0 0 4px #131313;
}

@media only screen and (max-width: 600px) {
    body {
        overflow-y: initial;
    }

    .entry:hover {
        transform: unset;
    }

    .entries-wrapper {
        overflow-y: initial;
        overflow-x: initial;
    }

    .entry-tile-wrapper-of-container {
        width: 8rem;
        /*border-radius: 16px;*/
    }

    .entry-tile-container {
        /*flex-direction: row;*/
        /*gap: 5px;*/
        /*justify-content: start;*/
        padding: 5px;
    }

    .entry-tile-container h3 {
        text-align: start;
        font-size: 10px !important;
    }

    .entry-tile-container p {
        font-size: 1rem !important;
    }
}