:root {
    --white: #ffffff;
    --black: #000000;
    --ec-black: #323232;
    --orange: #ff9900;
    --blue: #030479;
    --blue-label: #124a97;
    --blue-check: #2159A7;
    --card-border: #ebebeb;
    --pc-card-light-blue: #cde1fd;
    --pc-card-green: #7cae32;
    --giftcard-bg: #fafafa;
    --survey-bg: #cde1fd;
    --fusion-bg: #7cae32;
    --game-dark: #222222;
    --tw-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    --card-symbol-title: url('https://img.euroclix.nl/images/redesign/registreren/card-title.svg');
    --card-symbol-value: url('https://img.euroclix.nl/images/redesign/registreren/card-value.svg');
    --card-symbol-time: url('https://img.euroclix.nl/images/redesign/registreren/card-time.svg');
    --card-symbol-date: url('https://img.euroclix.nl/images/redesign/registreren/card-date.svg');
    --card-symbol-check-blue: url('https://img.euroclix.nl/images/redesign/registreren/check-blue.svg');

    --inactive: #d8d8d8;

    --inactive-button: var(--inactive);
    --inactive-button-box-shadow: #bebebe;

    --orange-button: var(--orange);
    --orange-button-hover: #ee8f00;
    --orange-button-box-shadow: #e25d04;

    --green-button: #7cae32;
    --green-button-hover: #689327;
    --green-button-box-shadow: #47631e;

    --blue-button: #5f8bc8;
    --blue-button-hover: #417cb8;
    --blue-button-box-shadow: #172357;

    --blue-alt-button: var(--white);
    --blue-alt-button-hover: #eff1fb;
    --blue-alt-button-box-shadow: var(--blue-button);

    --dark-blue-button: #030479;
    --dark-blue-button-hover: #020358;
    --dark-blue-button-box-shadow: #010236;

    --grey-button: #9e9e9e;
    --grey-button-hover: #7e7e7e;
    --grey-button-box-shadow: #6e6e6e;

    --btn-box-shadow: 0 5px;
    --btn-active-box-shadow: 0 2px;

    --btn-active-transform: translateY(3px);
    --btn-inactive-transform: translateY(0px);
}

/* ========= */
/* UTILITIES */
/* ======== */
.text-white {
    color: var(--white);
}

.text-blue {
    color: var(--blue);
}

.bold {
    font-weight: bold;
}

.semi-bold {
    font-weight: 600;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

/* =============== */
/* CARDS CONTAINER */
/* =============== */
.cards-container {
    display: grid;
    width: 100%;
    grid-gap: 20px 10px;
    margin-bottom: 16px;
    /* justify-items: center; */
}

.cards-container.no-grid {
    grid-template-columns: unset !important;
}

.cards-container.grid-cards-1 {
    grid-template-columns: repeat(1, 1fr);
}

.cards-container.grid-cards-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cards-container.grid-cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-container.grid-cards-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {

    .cards-container.grid-cards-3,
    .cards-container.grid-cards-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-cards-max-4 .card-base:nth-child(n+4),
    .grid-cards-max-6 .card-base:nth-child(n+7),
    .grid-cards-max-8 .card-base:nth-child(n+7) {
        display: none;
    }
}

@media (max-width: 499px) {

    .cards-container.grid-cards-2,
    .cards-container.grid-cards-3,
    .cards-container.grid-cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cards-max-4 .card-base:nth-child(n+4) {
        display: flex;
    }

    .grid-cards-max-4 .card-base:nth-child(n+5) {
        display: none;
    }
}

@media (min-width: 768px) {
    .cards-container.grid-cards-4 {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 20px;
    }

    .grid-cards-max-4 .card-base:nth-child(n+5),
    .grid-cards-max-6 .card-base:nth-child(n+7),
    .grid-cards-max-8 .card-base:nth-child(n+9) {
        display: none;
    }
}

@media (min-width: 992px) {
    .cards-container.grid-cards-4 {
        grid-gap: 24px;
    }
}


/* ========= */
/* CARD BASE */
/* ========= */
.card-base {
    background: var(--white);
    color: var(--ec-black);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 200px;
    min-width: 150px;
    margin: 0 auto;
    height: auto;
}

.card-base:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-base__thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    flex-shrink: 0;
}

.card-base__thumb img {
    width: 100%;
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.card-base__placeholder {
    font-weight: 700;
    font-size: 26px;
    color: var(--orange);
    text-transform: uppercase;
}

.card-base__content {
    padding: 12px;
    border-top: 1px solid var(--card-border);
    text-align: center;
    font-size: 14px;
    flex: 0 0 auto;
    height: 50%;
    flex-flow: column;
    justify-content: center;
}

.card-base__url {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* ======================== */
/* CONTENT STYLING PER TYPE */
/* ======================== */

/* PARTNERS, GIFTCARDS & GAMES */
.cards--ec .card-base__content>div,
.cards--giftcard .card-base__content>div,
.cards--game .card-base__content>div {
    font-weight: 600;
    text-align: center;
}

/* PARTNERS */
.card-base__content>div.base-card__name {
    color: var(--orange);
    font-size: 16px;
    line-height: 1.6;
}

.cards--ec .card-base__thumb {
    display: flex;
    justify-content: center;
    min-height: 80px;
    max-height: 80px;
    margin: 18px;
}

@media only screen and (max-width: 440px) {
    .cards--ec .card-base__thumb {
        margin: 10px;
    }

    .cards--ec .card-base__content {
        font-size: 14px;
    }
}

/* GIFTCARDS */
.cards--giftcard .card-base {
    background: var(--white);
    border: 1px solid #e5e5e5;
}

.cards--giftcard .card-base__content {
    border-top: unset;
}

.cards--giftcard .card-base__thumb img {
    border-radius: 10px;
    width: 100%;
    max-width: 160px;
    max-height: 100px;
    height: auto;
    object-fit: cover;
    box-shadow: var(--tw-shadow);
    margin: 18px 18px 0 18px;
}

/* GAMES */
.cards--game .card-base {
    position: relative;
}

.cards--game .platform-icon {
    display: flex;
    align-items: center;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 2px 12px;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 12px;
    justify-content: right;
    position: absolute;
    right: 0;
    top: 0;
}

.cards--game .platform-icon img {
    height: 24px !important;
    width: auto !important;
    object-fit: cover !important;
}

.cards--game .card-base__thumb {
    padding: 0px;
}

.cards--game .card-base__thumb img {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    width: 100%;
    object-fit: cover;
    height: 110px;
    max-width: unset;
    max-height: unset;
}

/* SURVEYS */
.survey-card,
.profile-card {
    position: relative;
    min-height: 249px;
}

.survey-card .card-base__url,
.profile-card .card-base__url {
    position: relative;
}

.survey-card__thumb,
.profile-card__thumb {
    background: var(--survey-bg);
    justify-content: center;
}

.survey-card__thumb img,
.profile-card__thumb img {
    max-width: 140px;
    height: auto;
}

.survey-card__body,
.profile-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.survey-card--fusion .survey-card__thumb {
    background: var(--fusion-bg);
}

.survey-card--fusion .survey-card__thumb img {
    max-width: 50px;
}


.survey-card--horizontal,
.profile-card--horizontal {
    max-width: none;
    width: 100%;
}

.survey-card--horizontal .card-base__url,
.profile-card--horizontal .card-base__url {
    flex-direction: row;
    align-items: stretch;
}

.survey-card--horizontal .survey-card__thumb,
.profile-card--horizontal .profile-card__thumb {
    width: 40%;
    border-right: 1px solid var(--card-border);
    min-height: 100%;
}

.survey-card--horizontal .survey-card__thumb img,
.profile-card--horizontal .profile-card__thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: none;
}

.survey-card--horizontal .survey-card__body,
.profile-card--horizontal .profile-card__body {
    text-align: left;
    align-items: flex-start;
    padding: 16px;
    flex: 1 1 auto;
}

.survey-card--vertical .card-base__url,
.profile-card--vertical .card-base__url {
    flex-direction: column;
}

.survey-card--vertical .survey-card__thumb,
.profile-card--vertical .profile-card__thumb {
    min-height: 128px;
}

.fusion-card__badge {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.fusion-card__badge img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.fusion-card.survey-card--horizontal .fusion-card__badge {
    left: 22%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 575px) {

    .survey-card--horizontal .card-base__url,
    .profile-card--horizontal .card-base__url {
        flex-direction: column;
    }

    .survey-card--horizontal .survey-card__thumb,
    .profile-card--horizontal .profile-card__thumb {
        width: 100%;
        border-right: none;
    }
}

/* SURVEY ICONS */
.survey-card__compensation {
    font-weight: 600;
}

.survey-card--fusion .survey-card__time {
    font-weight: unset;
}

.survey-card__title,
.survey-card__compensation,
.survey-card__time,
.survey-card__date,
.survey-card__check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.survey-card__title .ellipsis,
.survey-card__compensation .ellipsis,
.survey-card__time .ellipsis,
.survey-card__date .ellipsis,
.survey-card__check .ellipsis {
    flex: 1 1 auto;
    min-width: 0;
}

.survey-card__title:before,
.survey-card__compensation:before,
.survey-card__time:before,
.survey-card__date:before,
.survey-card__check:before {
    content: "";
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.survey-card__title:before {
    background-image: var(--card-symbol-title);
}

.survey-card__time:before {
    background-image: var(--card-symbol-time);
}

.survey-card__compensation:before {
    background-image: var(--card-symbol-value);
}

.survey-card__date:before {
    background-image: var(--card-symbol-date);
}

.survey-card__check:before {
    background-image: var(--card-symbol-check-blue);
}


/* PROFILE CARDS  */

.profile-card__title,
.profile-card__earning,
.profile-card__time,
.profile-card__date,
.profile-card__check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-card__title .ellipsis,
.profile-card__earning .ellipsis,
.profile-card__time .ellipsis,
.profile-card__date .ellipsis,
.profile-card__check .ellipsis {
    flex: 1 1 auto;
    min-width: 0;
}

.profile-card__title:before,
.profile-card__earning:before,
.profile-card__time:before,
.profile-card__date:before,
.profile-card__check:before {
    content: "";
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.profile-card__title:before {
    background-image: var(--card-symbol-title);
}

.profile-card__time:before {
    background-image: var(--card-symbol-time);
}


.profile-card__earning:before {
    background-image: var(--card-symbol-value);
}

.profile-card__date:before {
    background-image: var(--card-symbol-date);
}

.profile-card__check:before {
    background-image: var(--card-symbol-check-blue);
}

.profile-card .profile-card__label {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    padding: 2px 12px;
    background-color: var(--orange);
    margin: 12px;
    justify-content: left;
    position: absolute;
    left: 0;
    top: 0;
}

.profile-card .profile-card__label.profile-card__label--blue {
    background-color: var(--blue-label);
}

.profile-card .profile-card__label span {
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.profile-card .profile-card__check {
    color: var(--blue-check);
    font-weight: 600;
}


/* ============= */
/* BUTTON STYLES */
/* ============= */
.btn {
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
    margin: 0 0 20px 0;
    line-height: 1.8;
    text-decoration: none;
    transition-duration: 0.06s;
    color: var(--white);
    z-index: initial;
    opacity: 1;
}

.btn,
.btn:hover,
.btn:active,
.btn:focus {
    color: var(--white);
    opacity: 1;
}

.btn-inactive,
.btn-inactive:disabled,
.btn-inactive[disabled]:hover,
.btn-inactive:active {
    background: var(--inactive-button) !important;
    box-shadow: var(--btn-box-shadow) var(--inactive-button-box-shadow);
    opacity: 1;
    transform: unset;
    cursor: not-allowed;
}

.btn.btn-orange {
    background: var(--orange-button);
    box-shadow: var(--btn-box-shadow) var(--orange-button-box-shadow);
}

.btn.btn-blue {
    background: var(--blue-button);
    box-shadow: var(--btn-box-shadow) var(--blue-button-box-shadow);
}

.btn.btn-dark-blue {
    background: var(--dark-blue-button);
    box-shadow: var(--btn-box-shadow) var(--dark-blue-button-box-shadow);
}

.btn.btn-green {
    background: var(--green-button);
    box-shadow: var(--btn-box-shadow) var(--green-button-box-shadow);
}

.btn.btn-grey {
    background: var(--grey-button);
    box-shadow: var(--btn-box-shadow) var(--grey-button-box-shadow);
}

.btn.btn-blue-alt {
    background: var(--white);
    color: var(--blue-button);
    border: 2px solid var(--blue-button);
    padding: 8px 23px;
    box-shadow: var(--btn-box-shadow) var(--blue-alt-button-box-shadow);
}

.btn.btn-orange:hover {
    background: var(--orange-button-hover);
}

.btn.btn-blue:hover {
    background: var(--blue-button-hover);
}

.btn.btn-dark-blue:hover {
    background: var(--dark-blue-button-hover);
}

.btn.btn-green:hover {
    background: var(--green-button-hover);
}

.btn.btn-grey:hover {
    background: var(--grey-button-hover);
}

.btn.btn-blue-alt:hover {
    background: var(--blue-alt-button-hover);
    color: var(--blue-button);
}

.btn.btn-orange:active,
.btn.btn-blue:active,
.btn.btn-dark-blue:active,
.btn.btn-green:active,
.btn.btn-grey:active,
.btn.btn-blue-alt:active {
    box-shadow: var(--btn-active-box-shadow) var(--active-box-shadow, transparent);
    transform: var(--btn-active-transform);
}

.btn.btn-orange:active {
    background: var(--orange-button-hover);
    --active-box-shadow: var(--orange-button-box-shadow);
}

.btn.btn-blue:active {
    background: var(--blue-button-hover);
    --active-box-shadow: var(--blue-button-box-shadow);
}

.btn.btn-dark-blue:active {
    background: var(--dark-blue-button-hover);
    --active-box-shadow: var(--dark-blue-button-box-shadow);
}

.btn.btn-green:active {
    background: var(--green-button-hover);
    --active-box-shadow: var(--green-button-box-shadow);
}

.btn.btn-grey:active {
    background: var(--grey-button-hover);
    --active-box-shadow: var(--grey-button-box-shadow);
}

.btn.btn-blue-alt:active {
    background: var(--blue-alt-button-hover);
    color: var(--blue-button);
    --active-box-shadow: var(--blue-alt-button-box-shadow);
}

.press.login {
    background-color: var(--dark-blue-button);
}

.press.login:hover {
    background: var(--dark-blue-button-hover);
}

.press.login:active {
    background: var(--dark-blue-button-hover);
    --active-box-shadow: var(--dark-blue-button-box-shadow);
}



/* RESPONSIVE UTIL */
.show-only-sm,
.show-from-sm,
.show-from-md,
.show-from-lg,
.show-only-sm-flex,
.show-from-sm-flex,
.show-from-md-flex,
.show-from-lg-flex {
    display: none !important;
}

/* Show flex on mobile */
@media (max-width: 767px) {
    .show-only-sm {
        display: block !important;
    }

    .show-only-sm-flex {
        display: flex !important;
    }
}

/* Show flex from sm upward */
@media (min-width: 768px) {
    .show-from-sm {
        display: block !important;
    }

    .show-from-sm-flex {
        display: flex !important;
    }
}

/* Show flex from md upward */
@media (min-width: 992px) {
    .show-from-md {
        display: block !important;
    }

    .show-from-md-flex {
        display: flex !important;
    }
}

/* Show flex from lg upward */
@media (min-width: 1200px) {
    .show-from-lg {
        display: block !important;
    }

    .show-from-lg-flex {
        display: flex !important;
    }
}