/* Osnova strani */
html, body {
    height: 100%;
}

.auth {
    min-height: 100vh;
    /* display: flex; */
    /* align-items: center; */
}

/* Glavni layout */
.auth-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 690px; */
    min-height: 100vh;
    background: linear-gradient(135deg, #F3F4F6 0%, #EFF6FF 50%, #FEF2F2 100%);
}

button{
    transition: .3;
}

/* Leva kartica ---------------------------------------------------- */


.auth-left{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 100vh;
}


.auth-card {
    width: 448px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.auth-card.auth-card-register{
    width: 700px;
    max-width: 100%;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-title {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    letter-spacing: 0.395px;
    color: #0A0A0A;
    margin: 0 0 8px;
}

.auth-subtitle {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: -0.313px;
    color: #4A5565;
    margin: 0;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
    padding-bottom: 20px;
}

.auth-field-group {
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 8px; */
    margin-bottom: 10px;
}

.auth-field-group label {
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    color: #0A0A0A;
}

/* Input */
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #F3F3F5;
    border: 1px solid #D1D5DC;
    border-radius: 8px;
    
    height: 36px;
}

.auth-input-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.15px;
    color: #0A0A0A;
}

.auth-input-wrapper input::placeholder {
    color: #717182;
}

.auth-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-input-icon img {
    max-width: 100%;
    max-height: 100%;
}

/* Eye button */
.auth-input-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.auth-input-toggle img {
    width: 16px;
    height: 16px;
}

/* Remember + forgot */
.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    line-height: 20px;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #0A0A0A;
    font-weight: 500;
}

.auth-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-link-forgot {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #DC2626;
    margin-bottom: 10px;
}

/* Submit btn */
.auth-btn-primary {
    height: 40px;
    border-radius: 8px;
    border: none;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.15px;
    cursor: pointer;
    font-weight: 700;
}

.auth-btn-primary:hover{
    opacity: 0.8;
}

/* Register row */
.auth-register-row {
    margin-top: 4px;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: #4A5565;
}

.auth-link-register {
    margin-left: 4px;
    font-weight: 500;
    color: #DC2626;
}

/* Footer link */
.auth-card-footer {
    border-top: 1px solid #E5E7EB;
    margin-top: 20px;
    padding: 17px 0 12px;
    text-align: center;
}

.auth-link-back {
    font-size: 12px;
    line-height: 16px;
    color: #6A7282;
    text-decoration: none;
}

/* Desna stran ----------------------------------------------------- */

.auth-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* background: linear-gradient(135deg, #F3F4F6 0%, #EFF6FF 50%, #FEF2F2 100%); */
    border-radius: 0;
}

.auth-right-inner {
    width: 512px;
    max-width: 100%;
}

.auth-heading h2 {
    font-size: 36px;
    font-weight: 400;
    color: #101828;
    margin: 0 0 16px;
}

.auth-heading p {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.449px;
    color: #4A5565;
    margin: 0 0 40px;
}

/* Benefits */
.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.auth-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-benefit-icon img {
    width: 24px;
    height: 24px;
}

.auth-benefit-text h3 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    letter-spacing: -0.439px;
    color: #101828;
    margin: 0 0 4px;
}

.auth-benefit-text p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.313px;
    color: #4A5565;
    margin: 0;
}

/* Note */
.auth-note {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: rgba(255, 255, 255, 0.6);
    padding: 25px 25px 16px;
    font-size: 14px;
    line-height: 20px;
    color: #4A5565;
}

.auth-note strong {
    color: #101828;
}



.register{

}


.register  .heading{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.register  .heading h1{
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 16px;
}

.register  .heading h2{
    font-size: 20px;
}

.packages{
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.packages .package{
    width: 448px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    flex: 0 0 33%;
    text-align: center;
    overflow: hidden;
}


.packages .package .top{
    text-align: center;
    padding: 20px;
    background-color: #FEF2F2;
}


.packages .package .top .img-box{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid #e6e7eb;
    margin: 0 auto;
    box-shadow: 0px -1px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.packages .package .top .img-box img{

}
.packages .package .top h3{
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
}

.packages .package .content{
    padding: 20px;
}

.packages .package .content ul{
    border-top: 1px solid #e6e7eb;
    padding-top: 20px;
    padding-bottom: 20px;
}

.packages .package .content li{
    position: relative;
    display: flex;
    gap: 10px;
    text-align: left;
    align-items: baseline;
}

.packages .package .content li:before{
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dc2627;
    display: block;
}

.packages .package .content .text{
    background-color: #F9FAFB;
    font-size: 12px;
    padding: 20px;
    text-align: left;
}
.packages .package .content .price{
    font-size: 30px;
    font-weight: 700;
    color: #dc2627;
}
.packages .package .content .subtitle{
    font-size: 16px;
    margin-bottom: 30px;
}


.packages .package .content a{
    font-size: 14px;
    background-color: var(--color-red);
    color: var(--color-white);
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    width: 100%;
    margin-top: 20px;
    font-weight: 700;
}

.login-back{
    text-align: center;
    margin-bottom: 80px;
}

.login-back label{
    color: #4A5565;
    font-size: 14px;
    display: block;
}

.login-back label a{
    color: #dc2627;
    font-weight: 700;
}
/*form .form-group{
    margin-bottom: 15px;
}*/
form label{
    display: block;
    font-size: 14px;
    line-height: 14px;
    /* font-weight: 700; */
    color: #0A0A0A;
    margin-bottom: 6px;
}

form input{
    position: relative;
    display: flex;
    align-items: center;
    background: #F3F3F5;
    border-radius: 8px;
    height: 40px;
    border: none;
    padding: 0 15px;
    width: 100%;
    font-size: 14px;
    border: 1px solid #d1d5dd;
}

.extra{
    font-size: 12px;
    color: #6A7282;
    margin-top: -5px;
}


.auth.register-page .auth-inner{

}

.auth-form .extra-text{
    font-size: 14px;
    border: 1px solid #E5E7EB;
    padding: 14px;
    border-radius: 14px;
    text-align: center;
}

#ErrorRegister{
    color: #DC2626;
    font-size: 12px;
}


.register-success-page{
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
    min-height: 100vh;
}


.register-success-page .register-success-box{
    width: 448px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    text-align: center;
    margin-top: 10%;
    height: max-content;
}

.register-success-page .register-success-box .img-box{
    width: 80px;
    height: 80px;
    background-color: #F0FDF4;
    display: flex;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.register-success-page .register-success-box .img-box img{

}

.register-success-page .register-success-box h3{
    font-weight: 700;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.register-success-page .register-success-box p{
    font-size: 14px;
}

.register-success-page .register-success-box a{
    background-color: #ffffff;
    font-size: 14px;
    height: 36px;
    padding: 0 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 1px solid #e6e7eb;
    gap: 5px;
    width: max-content;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* --- TABS --- */
.auth-tabs{
    display:flex;
    gap:10px;
    margin: 18px 0 22px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(0,0,0,0.04);
    width: 60%;
    margin: 0 auto;
    margin-bottom: 35px;
}
.auth-tab{
    flex:1;
    border:0;
    cursor:pointer;
    padding: 8px 14px;
    border-radius: 12px;
    background: transparent;
    transition: all .15s ease;
    font-weight: 600;
}
.auth-tab.is-active{
    background:#fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    color: #111111;
}

/* --- SIMPLE ERROR UI --- */
.requiredInput input,
.requiredInput select,
.requiredInput textarea,
input.requiredInput,
select.requiredInput,
textarea.requiredInput {
    border: 1px solid #e23b3b !important;
}
#ErrorLogin,
#ErrorRegister{
    margin-top: 14px;
    font-size: 14px;
    color: #e23b3b;
    display: none;
}

/* Password eye toggle */
.auth-password-wrap{
    position: relative;
}

.auth-password-wrap input{
    padding-right: 40px;
}

.auth-eye-toggle{
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #717182;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-eye-toggle:hover{
    color: #0A0A0A;
}
#SuccessRegister{
    margin-top: 14px;
    font-size: 14px;
    color: #1e8e3e;
}

.select-box label{
    margin-bottom: 6px;
}

.auth-company-fields .auth-field-group{
    margin-bottom: 15px;
}



.basic-textarea{
    width: 100%;
    min-height: 120px;
    border: 1px solid #d3d7df;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}


.auth-error{
    margin-top: 8px;
    font-size: 12px;
    color: #e23b3b;
}


.auth-success{
    margin-top: 8px;
    font-size: 12px;
    color: #1e8e3e;
}