/* 03 — Registration final desktop/laptop pass.
 * Desktop only. Mobile reference <=820px remains untouched.
 */
@media(min-width:901px){
  body.ebx-auth.ebx-register{
    overflow-x:clip;
    background:
      radial-gradient(circle at 16% 8%,#7e174427 0,transparent 28%),
      radial-gradient(circle at 82% 22%,#4f16421c 0,transparent 30%),
      #070509!important
  }

  body.ebx-auth.ebx-register #main.eb-container.eb-inner{
    width:min(1420px,calc(100% - 44px))!important;
    max-width:none!important;
    margin:0 auto!important;
    padding:28px 0 42px!important
  }

  body.ebx-auth.ebx-register #main .eb-layout,
  body.ebx-auth.ebx-register #main .eb-main-column{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important
  }

  body.ebx-auth.ebx-register #post-161{
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important
  }

  body.ebx-auth.ebx-register #post-161>.eb-page-heading{
    display:none!important
  }

  body.ebx-auth.ebx-register #post-161>.entry-content{
    position:relative;
    margin:0!important;
    padding:0!important;
    max-width:none!important
  }

  body.ebx-auth.ebx-register .ebx-auth-header,
  body.ebx-auth.ebx-register .ebx-auth-signature{
    display:none!important
  }

  body.ebx-auth.ebx-register .ebc-auth{
    display:grid!important;
    grid-template-columns:minmax(380px,.86fr) minmax(560px,1.14fr)!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:none!important;
    min-height:760px;
    margin:0!important;
    overflow:hidden!important;
    border:1px solid #5a3148!important;
    border-radius:24px!important;
    background:#0b080d!important;
    box-shadow:0 30px 90px #0009,0 0 0 1px #ff4ca708!important
  }

  /* Left visual / story */
  body.ebx-auth.ebx-register .ebc-auth-intro{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    min-width:0!important;
    min-height:760px!important;
    margin:0!important;
    padding:42px 38px!important;
    overflow:hidden!important;
    border:0!important;
    border-right:1px solid #432538!important;
    border-radius:0!important;
    background:
      linear-gradient(0deg,#08050bf7 0,#08050bd9 19%,#08050b58 48%,#09050b20 64%,#09050b70 100%),
      linear-gradient(90deg,#07050a89 0,transparent 68%),
      url('../images/join.webp') 61% 38%/cover no-repeat!important;
    box-shadow:none!important
  }

  body.ebx-auth.ebx-register .ebc-auth-intro:before{
    content:"";
    position:absolute;
    inset:0;
    display:block!important;
    pointer-events:none;
    background:
      radial-gradient(circle at 20% 82%,#ff3e9820 0,transparent 24%),
      radial-gradient(circle at 78% 13%,#ff40910c 0,transparent 18%)
  }

  body.ebx-auth.ebx-register .ebc-auth-intro:after{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:220px;
    height:2px;
    background:linear-gradient(90deg,#ff489e,transparent);
    box-shadow:0 0 15px #ff3b965d
  }

  body.ebx-auth.ebx-register .ebc-auth-intro h2{
    position:relative;
    z-index:2;
    max-width:430px!important;
    margin:0!important;
    color:#fff!important;
    font:700 clamp(44px,4.4vw,68px)/.96 Georgia,serif!important;
    letter-spacing:-1.7px!important;
    text-shadow:0 4px 22px #000b
  }

  body.ebx-auth.ebx-register .ebc-auth-intro h2 em{
    display:block;
    color:#ff3b92;
    font-style:italic;
    font-size:1.12em;
    font-weight:700
  }

  body.ebx-auth.ebx-register .ebc-auth-intro>p{
    position:relative;
    z-index:2;
    max-width:360px!important;
    margin:18px 0 0!important;
    color:#f1e5ec!important;
    font-size:17px!important;
    line-height:1.5!important;
    text-shadow:0 2px 12px #000b
  }

  body.ebx-auth.ebx-register .ebx-auth-script{
    display:block!important;
    position:absolute!important;
    z-index:2;
    right:28px;
    top:112px;
    max-width:180px;
    color:#ff68ac;
    font:italic 24px/1.17 Georgia,serif;
    text-align:center;
    transform:rotate(-8deg);
    text-shadow:0 0 14px #ff2e844f
  }

  body.ebx-auth.ebx-register .ebc-auth-intro .ebc-auth-mark{
    display:none!important
  }

  body.ebx-auth.ebx-register .ebc-register-media{
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
    display:block!important;
    width:100%!important;
    min-height:100%!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#08050a!important;
    box-shadow:none!important
  }

  body.ebx-auth.ebx-register .ebc-register-media video{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    object-fit:cover!important;
    object-position:center 38%!important
  }

  body.ebx-auth.ebx-register .ebc-register-media:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,#08050bf5 0,#08050bc7 24%,#08050b3f 58%,#08050b63 100%);
    pointer-events:none
  }

  /* Right form column */
  body.ebx-auth.ebx-register .ebc-auth-form{
    position:relative!important;
    z-index:2;
    display:flex!important;
    flex-direction:column!important;
    min-width:0;
    margin:0!important;
    padding:26px 28px 24px!important;
    border:0!important;
    border-radius:0!important;
    background:
      radial-gradient(circle at 100% 0,#ff4ca70d 0,transparent 25%),
      linear-gradient(180deg,#100b12,#09070c)!important;
    box-shadow:none!important;
    backdrop-filter:none!important
  }

  /* Google can remain in the original outer panel if the integration script has not moved it yet. */
  body.ebx-auth.ebx-register .entry-content>.eb-panel:has(.nsl-container){
    width:min(760px,100%);
    margin:0 0 14px auto!important;
    padding:12px!important;
    border:1px solid #593047!important;
    border-radius:14px!important;
    background:linear-gradient(145deg,#160d15,#0c0910)!important;
    box-shadow:0 12px 34px #0004!important
  }

  body.ebx-auth.ebx-register .eb-google-social{
    position:static!important;
    order:0!important;
    margin:0 0 13px!important;
    padding:12px!important;
    border:1px solid #583148!important;
    border-radius:13px!important;
    background:
      radial-gradient(circle at 0 0,#ff4ca711 0,transparent 42%),
      linear-gradient(145deg,#150d15,#0d0910)!important;
    box-shadow:inset 0 1px #ffffff08!important
  }

  body.ebx-auth.ebx-register .eb-google-social>p{
    display:block!important;
    margin:0 0 8px!important;
    color:#bdaab6!important;
    text-align:center!important;
    font-size:10px!important
  }

  body.ebx-auth.ebx-register .nsl-container,
  body.ebx-auth.ebx-register .nsl-container-buttons,
  body.ebx-auth.ebx-register .nsl-container-buttons>a{
    width:100%!important;
    max-width:none!important
  }

  body.ebx-auth.ebx-register .nsl-button{
    min-height:46px!important;
    overflow:hidden!important;
    border:1px solid #7d4662!important;
    border-radius:11px!important;
    background:#fff!important;
    box-shadow:0 8px 20px #0004!important
  }

  body.ebx-auth.ebx-register .nsl-button-label-container{
    color:#242024!important;
    font-size:12px!important;
    font-weight:800!important
  }

  body.ebx-auth.ebx-register .ebc-auth-form>.eb-auth-divider{
    position:static!important;
    order:1!important;
    display:flex!important;
    align-items:center;
    gap:10px;
    margin:0 0 14px!important;
    color:#887483!important;
    font-size:9px!important;
    font-weight:800!important;
    letter-spacing:.65px;
    text-transform:uppercase
  }

  body.ebx-auth.ebx-register .ebc-auth-form>.eb-auth-divider:before,
  body.ebx-auth.ebx-register .ebc-auth-form>.eb-auth-divider:after{
    content:"";
    height:1px;
    flex:1;
    background:linear-gradient(90deg,transparent,#4d2d41)
  }

  body.ebx-auth.ebx-register .ebc-auth-form>.eb-auth-divider:after{
    background:linear-gradient(90deg,#4d2d41,transparent)
  }

  body.ebx-auth.ebx-register form[data-ebc-form="register"]{
    order:2;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin:0!important
  }

  /* Highlighted avatar uploader first, like the reference. */
  body.ebx-auth.ebx-register .eb-registration-photo{
    grid-column:1/-1!important;
    order:-20!important;
    position:relative;
    display:grid!important;
    min-width:0;
    margin:0 0 4px!important;
    padding:16px!important;
    overflow:hidden;
    border:1px solid #b23873!important;
    border-radius:16px!important;
    background:
      radial-gradient(circle at 16% 50%,#ff4ca71c 0,transparent 30%),
      linear-gradient(145deg,#1a0e17,#0d0910)!important;
    box-shadow:inset 0 1px #ffffff09,0 0 22px #ff348f0e!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-title{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)
  }

  body.ebx-auth.ebx-register .eb-registration-photo-picker{
    display:grid!important;
    grid-template-columns:118px minmax(0,1fr)!important;
    gap:18px!important;
    align-items:center!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-preview{
    position:relative;
    display:grid!important;
    place-items:center;
    width:112px!important;
    height:112px!important;
    border:2px solid #ff4f9d!important;
    border-radius:50%!important;
    background-color:#160d16!important;
    background-size:cover!important;
    background-position:center!important;
    box-shadow:0 0 0 7px #ff3e9309,0 0 26px #ff2d8c35!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-preview:not(.has-image):before{
    content:"📷";
    display:block;
    margin-top:-11px;
    font-size:27px;
    filter:grayscale(1) brightness(2)
  }

  body.ebx-auth.ebx-register .eb-registration-photo-preview:not(.has-image):after{
    content:"Dodaj fotografiju";
    position:absolute;
    left:4px;
    right:4px;
    bottom:19px;
    color:#e6d6df;
    text-align:center;
    font-size:9px
  }

  body.ebx-auth.ebx-register .eb-registration-photo-preview>span{
    position:absolute;
    right:-5px;
    top:7px;
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    margin:0!important;
    border-radius:50%;
    background:#f40b78;
    color:#fff;
    font-size:22px!important;
    box-shadow:0 0 13px #ff278c55
  }

  body.ebx-auth.ebx-register .eb-registration-photo-copy{
    position:relative;
    display:grid;
    align-content:center;
    min-height:82px;
    padding:13px 15px 13px 54px!important;
    border:1px solid #58354a!important;
    border-radius:12px!important;
    background:#100b12c9!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-copy:before{
    content:"♛";
    position:absolute;
    left:17px;
    top:50%;
    transform:translateY(-50%);
    color:#f5c46d;
    font-size:28px;
    text-shadow:0 0 11px #ffb33a44
  }

  body.ebx-auth.ebx-register .eb-registration-photo-copy strong{
    color:#fff!important;
    font-size:13px!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-copy small{
    margin-top:4px;
    color:#b9a5b2!important;
    font-size:10px!important;
    line-height:1.4!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo:focus-within .eb-registration-photo-preview{
    outline:2px solid #ffadd1;
    outline-offset:3px
  }

  /* Core account fields */
  body.ebx-auth.ebx-register form[data-ebc-form="register"]>label:not(.eb-registration-photo):not(.ebc-honey){
    position:relative;
    display:grid!important;
    align-content:center;
    gap:3px!important;
    min-width:0;
    min-height:64px;
    margin:0!important;
    padding:10px 12px!important;
    border:1px solid #4a3041!important;
    border-radius:11px!important;
    background:
      linear-gradient(145deg,#161017,#0d0a0f)!important;
    color:#e4d6df!important;
    font-size:10px!important;
    box-shadow:inset 0 1px #ffffff05
  }

  body.ebx-auth.ebx-register form[data-ebc-form="register"]>label:has([name="password"]),
  body.ebx-auth.ebx-register form[data-ebc-form="register"]>label:has([name="birthdate"]){
    grid-column:1/-1
  }

  body.ebx-auth.ebx-register form[data-ebc-form="register"]>label:focus-within{
    border-color:#ff64aa!important;
    box-shadow:0 0 0 2px #ff349014,inset 0 1px #ffffff08!important
  }

  body.ebx-auth.ebx-register form[data-ebc-form="register"]>label>input:not([type="file"]){
    width:100%!important;
    min-width:0!important;
    min-height:27px!important;
    height:27px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:12px!important;
    color-scheme:dark
  }

  body.ebx-auth.ebx-register form[data-ebc-form="register"]>label>small{
    color:#988491;
    font-size:8px;
    line-height:1.35
  }

  body.ebx-auth.ebx-register .ebx-password-toggle{
    right:9px!important;
    top:50%!important
  }

  /* Dating preferences / location from the real registration payload */
  body.ebx-auth.ebx-register .ebx-registration-extra{
    grid-column:1/-1;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important
  }

  body.ebx-auth.ebx-register .ebx-registration-extra>label:not(.ebx-preferences-consent){
    display:grid!important;
    grid-template-columns:22px minmax(0,1fr);
    align-items:center;
    gap:2px 8px;
    min-width:0;
    min-height:64px;
    margin:0;
    padding:9px 11px!important;
    border:1px solid #4a3041!important;
    border-radius:11px!important;
    background:linear-gradient(145deg,#161017,#0d0a0f)!important;
    color:#e5d8e0;
    font-size:10px;
    box-shadow:inset 0 1px #ffffff05
  }

  body.ebx-auth.ebx-register .ebx-registration-extra>label:focus-within{
    border-color:#ff64aa!important;
    box-shadow:0 0 0 2px #ff349014!important
  }

  body.ebx-auth.ebx-register .ebx-registration-extra>label>.eb-icon{
    grid-row:1/3;
    align-self:center;
    width:20px;
    height:20px;
    color:#ff6bad
  }

  body.ebx-auth.ebx-register .ebx-registration-extra>label>span{
    color:#e6d7e0;
    font-size:10px
  }

  body.ebx-auth.ebx-register .ebx-registration-extra>label>span>small{
    color:#917d89;
    font-size:7px
  }

  body.ebx-auth.ebx-register .ebx-registration-extra select,
  body.ebx-auth.ebx-register .ebx-registration-extra input:not([type="checkbox"]){
    grid-column:2;
    width:100%;
    min-width:0;
    min-height:27px!important;
    height:27px!important;
    margin:0;
    padding:0;
    border:0!important;
    outline:0;
    background:transparent!important;
    color:#cdbbc6!important;
    box-shadow:none!important;
    font-size:11px!important;
    color-scheme:dark
  }

  body.ebx-auth.ebx-register .ebx-country-other{
    grid-column:1/-1
  }

  body.ebx-auth.ebx-register .ebx-registration-extra .ebx-preferences-consent{
    grid-column:1/-1;
    display:flex!important;
    align-items:flex-start;
    gap:8px;
    margin:0;
    padding:8px 3px 0;
    border:0!important;
    background:transparent!important;
    color:#9f8c98;
    font-size:8.5px;
    line-height:1.45
  }

  body.ebx-auth.ebx-register .ebx-preferences-consent input{
    flex:0 0 16px;
    width:16px;
    height:16px;
    margin:1px 0 0;
    accent-color:#ef2c88
  }

  /* Legal checks stay explicit; don't collapse consent semantics. */
  body.ebx-auth.ebx-register .ebl-checks{
    grid-column:1/-1;
    margin:2px 0 0!important;
    padding:12px 13px;
    border:1px solid #3f2a37;
    border-radius:12px;
    background:#0d0a0f
  }

  body.ebx-auth.ebx-register .ebl-check{
    display:flex!important;
    align-items:flex-start;
    gap:8px!important;
    margin:6px 0!important;
    color:#baa7b3!important;
    font-size:9px!important;
    line-height:1.45!important
  }

  body.ebx-auth.ebx-register .ebl-check input{
    flex:0 0 17px!important;
    width:17px!important;
    height:17px!important;
    margin:1px 0 0!important;
    accent-color:#ef2989
  }

  body.ebx-auth.ebx-register .ebl-checks a{
    color:#ff67ac
  }

  body.ebx-auth.ebx-register .ebl-small{
    margin:7px 0 0!important;
    color:#887582!important;
    font-size:8px!important;
    line-height:1.45!important
  }

  body.ebx-auth.ebx-register form[data-ebc-form="register"]>.ebc-button{
    grid-column:1/-1;
    min-height:54px!important;
    margin:2px 0 0!important;
    border:1px solid #ff78b7!important;
    border-radius:13px!important;
    background:linear-gradient(115deg,#ff0878,#d10b6a)!important;
    color:#fff!important;
    font-size:17px!important;
    font-weight:850!important;
    box-shadow:0 0 24px #ff2c882b,inset 0 1px #ffffff2d!important;
    transition:transform .15s ease,filter .15s ease,box-shadow .15s ease
  }

  body.ebx-auth.ebx-register form[data-ebc-form="register"]>.ebc-button:hover{
    transform:translateY(-1px);
    filter:brightness(1.05);
    box-shadow:0 0 30px #ff2c883a,inset 0 1px #ffffff35!important
  }

  body.ebx-auth.ebx-register [data-form-status]{
    grid-column:1/-1;
    margin:0;
    color:#efbfd8;
    font-size:10px;
    line-height:1.45
  }

  body.ebx-auth.ebx-register [data-form-status]:empty{
    display:none
  }

  body.ebx-auth.ebx-register .ebc-auth-form>p:last-child{
    margin:13px 0 0;
    text-align:center
  }

  body.ebx-auth.ebx-register .ebc-auth-form>p:last-child a{
    color:#b79eae;
    font-size:10px
  }

  body.ebx-auth.ebx-register .ebx-auth-trust{
    display:grid!important;
    grid-template-columns:1fr 1fr .7fr;
    gap:0;
    width:min(650px,calc(100% - 30px));
    margin:16px 0 0 auto;
    padding:12px 14px;
    border:1px solid #452c3c;
    border-radius:13px;
    background:linear-gradient(145deg,#100b12,#09070c)
  }

  body.ebx-auth.ebx-register .ebx-auth-trust>span{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:34px;
    border-right:1px solid #35222e;
    color:#cdbbc6;
    font-size:10px
  }

  body.ebx-auth.ebx-register .ebx-auth-trust>span:last-child{
    border:0
  }

  body.ebx-auth.ebx-register .ebx-auth-trust .eb-icon{
    width:20px;
    height:20px;
    color:#ff5da6
  }

  body.ebx-auth.ebx-register .ebx-adult-mark{
    color:#ff5ba4!important;
    font-size:15px!important;
    font-weight:900
  }
}

@media(min-width:901px) and (max-width:1140px){
  body.ebx-auth.ebx-register #main.eb-container.eb-inner{
    width:calc(100% - 28px)!important
  }

  body.ebx-auth.ebx-register .ebc-auth{
    grid-template-columns:minmax(315px,.78fr) minmax(520px,1.22fr)!important
  }

  body.ebx-auth.ebx-register .ebc-auth-intro{
    padding:34px 28px!important
  }

  body.ebx-auth.ebx-register .ebc-auth-intro h2{
    font-size:48px!important
  }

  body.ebx-auth.ebx-register .ebc-auth-intro>p{
    max-width:300px!important;
    font-size:14px!important
  }

  body.ebx-auth.ebx-register .ebx-auth-script{
    right:18px;
    top:105px;
    font-size:19px
  }

  body.ebx-auth.ebx-register .ebc-auth-form{
    padding:22px 20px!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-picker{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:13px!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-preview{
    width:92px!important;
    height:92px!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-copy{
    padding-left:46px!important
  }

  body.ebx-auth.ebx-register .eb-registration-photo-copy:before{
    left:14px;
    font-size:24px
  }
}

@media(min-width:1400px){
  body.ebx-auth.ebx-register .ebc-auth{
    grid-template-columns:minmax(470px,.9fr) minmax(650px,1.1fr)!important
  }

  body.ebx-auth.ebx-register .ebc-auth-form{
    padding:30px 34px 28px!important
  }
}
