:root {
    --body-color-text: #004D64;
    --geni-siva: #5A6066;
    --geni-bela: #FFFFFF;
    --geni-modra: #004C6A;
    --geni-opozorilna: #FF4641;
    --geni-modra-50: rgba(0, 76, 106, 0.5);
    --geni-modra-100: rgba(0, 76, 106, 1);
}

a {
    color: var(--geni-modra);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

body {
    font-family: proxima-nova, sans-serif;
    font-weight: 400;
    color: var(--geni-siva);
    font-size: 1.125rem;
    line-height: 1.575;
    margin: 0;
}

.text--medium-strong {
    font-weight: 700;
}

.forgot-wrapper {
    text-align: center;
    padding-bottom: 24px;
}

.header {
    height: 15vh;
}


.header-content {
    display: flex;
    justify-content: space-between;
    padding: 48px 156px 33px 156px;
}

.language-menu {
    flex: 0 0 15vh;
    display: flex;
    flex-direction: row-reverse;
}

@media only screen and (max-height: 1040px) {
    .header {
        height: 118px;
    }

    .language-menu {
        flex: 0 0 118px !important;
    }
}


.container-main .language-selector {
    margin-top: 0px;
    margin-right: 0px;
}

@media only screen and (min-width: 900px) and (max-width: 1156px) {
    hr.geni-hr {
        width: 100% !important;
    }
}

@media only screen and (max-width: 900px) {
    .header {
        height: 86px;
    }

    .header__logo img {
        height: 26.2px;
        width: 93.89px;
    }

    .header-content {
        padding: 24px 20px 16px;
    }

    .container-main .language-selector {
        margin-top: 24px;
        margin-right: 20px;
    }

    .language-menu {
        flex-basis: 89px !important;
    }

    .content {
        width: 87.5% !important;
    }

    .content--login {
        padding: 0 !important;
    }

    .register-form-grid {
        flex-direction: column;
        align-items: center;
    }

    .register-header-text {
        text-align: center !important;
    }

    .required-data {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .geni-card .geni-card__header h1 {
        margin-bottom: 24px !important;
    }

    .welcome-header {
        margin-bottom: 48px !important;
    }

    .registration-notification-text {
        width: 80%;
    }

    .registration-notification-loader {
        height: 48px !important;
    }

    hr.geni-hr {
        width: 232px !important;
    }
}



.language-selector {
    line-height: 1;
    display: inline-block;
    height: 17px;
}

.language-selector a.lang,
.language-selector span.lang {
    width: auto;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    margin-right: 12px;
    color: var(--geni-modra);
    opacity: 0.5;
}

.language-selector a.lang.active,
.language-selector span.lang.active {
    opacity: 1;
    color: var(--geni-modra);
    font-weight: 400;
}

.language-selector a.lang:hover {
    border-bottom: 1px solid #00A796;
}

/* Left panel - B2B style */
.container-left {
    flex: 0 0 443px;
    min-width: 443px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--geni-bela);

    .container-left-logo {
        margin-top: 118px;
        z-index: 100;
    }

    .container-left-image {
        left: 0;
        z-index: 0;
        overflow: hidden;
        width: 443px;
        top: 102px;
    }

    .container-left-image .image {
        overflow: hidden;
        max-width: 443px;
        width: 443px;
        height: 600px;
        position: relative;
    }

    /* Fade to white at the bottom of images */
    .container-left-image .image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        pointer-events: none;
    }

    .container-left-image .image.image-1 {
        background: #FFFFFF url("../images/Registracijska_vstopna_stran_443x600px_01.png");
        background-repeat: no-repeat;
        background-position: top center;
        background-size: cover;
    }

    .container-left-image .image.image-2 {
        background: #FFFFFF url("../images/Registracijska_vstopna_stran_443x600px_02.png");
        background-repeat: no-repeat;
        background-position: top center;
        background-size: cover;
    }

    .container-left-image .image.image-3 {
        background: #FFFFFF url("../images/Registracijska_vstopna_stran_443x600px_03.png");
        background-repeat: no-repeat;
        background-position: top center;
        background-size: cover;
    }

    .container-left-text {
        position: absolute;
        top: 565px;
        width: 443px;

        font-family: 'proxima-nova', sans-serif;
        font-size: 26px;
        font-weight: 700;
        line-height: 39px;
        text-align: center;
        margin: 0;
        color: var(--geni-modra);
    }
}

.gradient {
    background-color: white;
    position: relative;
}

.gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 443px;
    height: 844px;
    background: 
        radial-gradient(232.35% 109.95% at 0% 0%, #004C6A 2.15%, rgba(0, 76, 106, 0.8) 8%, rgba(0, 167, 150, 0.55) 19.53%, rgba(30, 180, 135, 0) 30.06%), 
        radial-gradient(45.25% 20.38% at 6.32% 17.36%, rgba(10, 175, 145, 0.7) 3.49%, rgba(10, 175, 145, 0) 50.33%), 
        radial-gradient(65.67% 23.22% at 53.5% 1.6%, rgba(10, 175, 145, 0.5) 2.23%, rgba(10, 175, 145, 0) 46.77%), 
        linear-gradient(170.21deg, rgba(30, 180, 135, 0.65) 0%, rgba(255, 255, 255, 0.55) 22.33%, rgba(255, 255, 255, 0) 33.49%);
    z-index: 2;
    pointer-events: none;
}

/* Right panel - matches Figma */
.container-main {
    flex: 66%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.image-mojgeni-bg {
    height: 100%;
    width: 100%;
    background-image: linear-gradient(320deg, #51AE8D -15%, transparent 30%);
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.content--login {
    margin: 0 auto;
    padding: 0 48px;

    display: flex;
    flex-direction: column;
    align-items: center;

    z-index: 100;
}

.content--login .geni-card {
    padding-top: 24px;
    width: 360px;
}

.geni-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.geni-card .geni-card__header h1 {
    margin-bottom: 48px;
    font-size: 36px;
    line-height: 43.85px;
    color: var(--geni-modra);
    text-align: center;
}

@media only screen and (max-width: 450px) {

    .content {
        width: calc(100% - 40px) !important;
    }

    .content--login {
        margin: 0 20px;
    }

    .content--login .geni-card {
        width: 100%;
    }

    .geni-card__body {
        width: 100% !important;
    }

    .register-form-grid {
        flex-direction: row;
    }

    .input-field {
        width: 100% !important;
    }

    .text--center.pb-48 {
        flex-direction: column;
        align-items: center;
    }
}

.input-field {
    width: 360px;
    position: relative;
}

.input-field label {

    margin-bottom: 10px;
    margin-top: 0px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--body-color-text);

    /*display: block;*/

}

@media only screen and (max-width: 420px) {
    .input-field {
        width: 100% !important;
    }

    input {
        width: 100% !important;
        padding: 0 16px !important;
    }

    .content--login .geni-card {
        width: 100% !important;
        align-items: normal;
    }
}

.link--common {
    position: relative;
    padding-left: 13px;
    font-size: 18px;
    line-height: 21.92px;
}

.link--common:before {
    content: ">";
    position: absolute;
    top: 1px;
    left: 0;
}

.link--common div {
    display: inline-block !important;
}

.link--common:hover div {
    border-bottom: 1px solid #004C6A;
}

.link--common a:disabled {
    opacity: 0.5;
}

.text--center {
    text-align: center;
}

.text--center.pb-48 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.text--right {
    text-align: right;
}

hr.geni-hr {
    color: var(--geni-modra);
    border-top: 0.5px solid var(--geni-modra);
    margin-top: 0;
    margin-bottom: 48px;
    width: 100%;
}

.register-header-text {
    font-family: 'proxima-nova', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
    margin-bottom: 63px;
}

.required-data {
    font-family: 'proxima-nova', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    color: var(--geni-modra);

    margin-top: 25px;
    margin-bottom: 24px;
}

/* Img container wrapper - z-index: 0 */
.slider {
    width: 100%;
    max-width: 443px;
    margin-top: -40px;
    position: relative;
}

.slider p {
    font-family: 'proxima-nova', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

/* Slides container - inside slider */
.slider_slides-cont {
    text-align: center;
}

.slider_slide {
    left: 0;
    width: 100%;  /* Changed from 443px */
    opacity: 0;
    visibility: hidden;
    height: 0;
}

.slider_slide:first-child {
    opacity: 1;
    visibility: visible;
}

.slider_slide.slider_slide--faded-out {
    opacity: 0;
    visibility: hidden;
    transition: 0.5s linear;
}

.slider_slide.slider_slide--faded-in {
    opacity: 1;
    visibility: visible;
    transition: 0.5s linear 0.5s;
}

.slider_slide>img {
    width: 100%
}

.slider_nav {
    padding: 15px;
}

.slider_pagination {
    text-align: center;
    top: 610px;
    position: absolute;
    width: 443px;
}

.slider_pagination_btn {
    display: inline-block;
    padding: 0 10px;
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
}

.slider_pagination_btn:before {
    content: '';
    display: inline-block;
    padding: 5px;
    border-radius: 100%;
    background-color: #004C6A;
    opacity: 0.5;
    transition: 1s linear;
}

.slider_pagination_btn:hover {
    cursor: default;
}

.slider_pagination_btn.slider_pagination_btn--sel:before {
    background-color: #004C6A;
    opacity: 1;
    transition: 1s linear;
}

.slider_progress-bar {
    width: 100%;
    height: 5px;
    background-color: #eee;
}

.slider_progress-bar_bar {
    width: 0;
    height: 100%;
    background-color: #555;
}

.slider_progress-bar_bar--moving {
    width: 100%;
    transition: 3.5s linear;
}

@media only screen and (max-width: 900px) {
    .container-left {
        display: none;
    }

    .mobile-footer-wrapper {
        display: block !important;
        width: 100%;
    }

    .image-mojgeni-bg {
        display: block;
    }

    .text--center.pb-48 {
        flex-direction: column;
        align-items: center;
    }
}

.mobile-footer-wrapper {
    display: none;
}

.mobile-footer {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
}

.mobile-footer--left {
    font-family: 'proxima-nova', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;

    color: var(--geni-siva);

    padding-bottom: 24px;
}

.mobile-footer--right,
.mobile-footer--right a {
    font-family: 'proxima-nova', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    text-align: right;

    color: var(--geni-modra);
}

.mobile-footer--right {
    padding-bottom: 24px;
}

/* Bottom/Footer - z-index: 3 */
.container-left-footer-wrapper {
    width: 443px;
    margin-top: auto;
    position: absolute;
    bottom: 0;
    z-index: 100;
}

@media only screen and (max-height: 924px) {
    .container-left-footer-wrapper {
        position: absolute !important;
        bottom: 0;
    }
}


.container-left-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: var(--geni-modra);
}

.container-left-footer a {
    color: var(--geni-modra);
}

.container-left-footer .container-left-footer--left {
    font-family: 'proxima-nova', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    padding: 24px 48px;
    color: var(--geni-siva);
}

.container-left-footer .container-left-footer--right,
.container-left-footer .container-left-footer--right a {
    font-family: 'proxima-nova', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    text-align: right;
}

.container-left-footer .container-left-footer--right {
    padding: 24px 48px;
}

.section-center {
    margin: 0 auto;
    max-width: 360px;
}

.register-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.register-terms {
    font-family: 'proxima-nova', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;

    margin-bottom: 48px;
}

.register-terms strong {
    color: var(--geni-modra);
}

.register-terms a {
    font-size: 16px;
}

.min-h-100 {
    min-height: 100vh;
}

.pt-0 {
    padding-top: 0;
}

.pt-16 {
    padding-top: 16px;
}

.pr-16 {
    padding-right: 16px;
}

.pb-16 {
    padding-bottom: 16px;
}

.pb-24 {
    padding-bottom: 24px;
}

.pb-48 {
    padding-bottom: 48px;
}

.mb-48 {
    margin-bottom: 48px;
}

.color-white {
    color: white;
}

.inline-block {
    display: inline-block;
}

.content--login .entry-item {
    margin-bottom: 24px;
}

.reset-pass-form .text-reset-pass {
    margin-top: 0;
    margin-bottom: 48px;
}

p.instruction {
    margin-top: 0;
    margin-bottom: 0;

    font-family: 'proxima-nova', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
}



.verify-header {
    margin-top: 87px;
}

.password-description {
    margin-top: 8px;

    font-family: 'proxima-nova', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
}

.content-page-centered {
    margin: 0 auto;
    align-items: center;
}


#loading {
    width: 50px;
    height: 50px;
    position: relative;
}

.inner-shadow {
    z-index: 4;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.inner-shadow {
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 100%;
    background-color: #E5ECEB;
}

.hold {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0, 0 0, 0 100%, 50% 100%);
    border-radius: 100%;
    background-color: #E5ECEB;
}

.fill,
.dot span {
    background-color: #004C6A;
}

.fill {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.left .fill {
    z-index: 1;
    -webkit-animation: left 5s linear;
    -moz-animation: left 5s linear;
    animation: left 5s linear both;
    -webkit-animation-delay: 5s;
    -moz-animation-delay: 5s;
    animation-delay: 5s;
}

@keyframes left {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

@-webkit-keyframes left {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(180deg);
    }
}

.right {
    z-index: 3;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.right .fill {
    z-index: 3;
    -webkit-animation: right 5s linear;
    -moz-animation: right 5s linear;
    animation: right 5s linear both;

}

@keyframes right {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

@-webkit-keyframes right {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

.inner-shadow img {
    margin-left: 8px;
    margin-top: 7px;
}

.x-image {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 102;
    height: 16px;
    width: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.x-image::before,
.x-image::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background-color: #004C6A;
}

.x-image::before {
    transform: rotate(45deg);
}

.x-image::after {
    transform: rotate(-45deg);
}

.circle-close {
    position: absolute;
    top: 2px;
    right: 2px;
    height: 44px;
    width: 44px;
    background-color: transparent;
    border-radius: 100%;
    border: 1px solid #004C6A;
    z-index: 101;
}

.registration-notification-loader {
    width: 92%;
    height: 64px;
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: #E5ECEB;
    box-shadow: 0 0 5px 3px #004C6A33;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
}

.registration-notification-text {
    color: #004C6A;
    padding-left: 10px;
    width: 80%;
}

.opacity-50 {
    opacity: 0.5;
}

/* Top bar with login switcher and language selector */
.top-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* TODO: re-enable when preklop med podjetji is back: justify-content: space-between; */
    justify-content: flex-end;
    gap: 24px;
    position: relative;
    margin: 48px;
    text-transform: uppercase;
}

/* Hide desktop top-bar on mobile - mobile uses .login-logo-mobile instead */
@media only screen and (max-width: 900px) {
    .top-bar {
        display: none;
        height: 88px;
    }
}


/* Social Login Styles */
.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 24px;
    width: 100%;
    max-width: 744px;
    margin: 0 auto;
}

.social-divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
    height: 27px;
    box-sizing: border-box;
}

.social-divider-line {
    flex: 1;
    border: none;
    border-top: 1px solid var(--geni-modra-50);
    margin: 0;
}

.social-divider-text {
    padding: 0;
    font-size: 18px;
    font-weight: 400;
    color: var(--geni-siva);
    text-transform: lowercase;
    flex: none;
}

.social .options {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
    width: 100%;
    margin-bottom: 38px;
}

.social .options a {
    text-decoration: none;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 18px;    
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ddd;
    width: 320px;
    box-sizing: border-box;
}

.social-button img {
    width: 20px;
    height: 20px;
}

.social-button span {
    white-space: nowrap;
}

.social-button--google {
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 76, 106, 0.2);
    box-shadow: 0px 4px 0px rgba(0, 76, 106, 0.2);
    border-radius: 4px;
    font-size: 18px;
    font-weight: 400;
}

.social-button--google:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 76, 106, 0.3);
    box-shadow: 0px 4px 0px rgba(0, 76, 106, 0.3);
}

.social-button--google img {
    width: 24px;
    height: 24px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.social-button--facebook {
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 76, 106, 0.2);
    box-shadow: 0px 4px 0px rgba(0, 76, 106, 0.2);
    border-radius: 4px;
    font-size: 18px;
    font-weight: 400;
}

.social-button--facebook:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 76, 106, 0.3);
    box-shadow: 0px 4px 0px rgba(0, 76, 106, 0.3);
}

.social-button--facebook img {
    width: 24px;
    height: 24px;
    flex: none;
    order: 0;
    flex-grow: 0;
}


@media only screen and (max-width: 900px) {
    .social {
        margin-top: 24px;
    }

    .social .options {
        flex-wrap: wrap;
        gap: 24px;
    }

    .social-button {
        width: 280px;
        height: 44px;
        padding: 12px 20px;
        flex: none;
    }

    .social-divider {
        max-width: 616px;
        width: 100%;
    }

}
