/*====================================
 Registration Information
====================================*/

.registration-notes{
    margin-bottom:3rem;
}

.registration-box{
    background:var(--card);
    border:1px solid #e6e6e6;
    border-left:4px solid var(--tertiary);
    border-radius:12px;
    padding:2rem;
    box-shadow:var(--shadow-soft);
}

.registration-box h3{
    color:var(--header-color);
    font-size:1.3rem;
    margin-bottom:1rem;
}

.registration-box ol,
.registration-box ul{
    padding-left:1.4rem;
    margin-bottom:1.75rem;
}

.registration-box li{
    margin-bottom:.8rem;
    line-height:1.7;
}

.registration-box hr{
    border:0;
    border-top:1px solid #ddd;
    margin:2rem 0;
}

.registration-box strong{
    color:var(--secondary-base);
}

@media (max-width:768px){

    .registration-box{
        padding:1.5rem;
    }

}



/* ==========================================================
   Payment Page
========================================================== */

.payment-section{
  padding:3rem 0 4rem;
}


.registration-layout{
  display:grid;
  grid-template-columns:60% 40%;
  gap:2rem;
  align-items:start;
}


.registration-left,
.registration-right{
  min-width:0;
}


.register-info-form,
.summary{
  background:var(--card);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
  margin:0;
}


.register-info-form h2,
.summary h2{
  margin-top:0;
}


.register-info-form{
  padding:2.5rem;
}


/*------ Check Summary and Pad -----*/
/*
.summary{
    position:sticky;
    top:110px;
}
*/


/* ==========================================================
   Visibility Classes
========================================================== */

.hidden{
  display:none !important;
}

.show-block{
  display:block !important;
}

.show-inline{
  display:inline !important;
}

.show-inline-block{
  display:inline-block !important;
}

.show-flex{
  display:flex !important;
}

.show-grid{
  display:grid !important;
}


/* ==========================================================
   General
========================================================== */

.pad{
  padding:2rem;
}


.register-info-header{
  margin-bottom:1.75rem;
}


.register-info-header h2{
  margin-bottom:.4rem;
}


.register-info-header p{
  color:var(--text-dark);
  margin-bottom:0;
}


/* ==========================================================
   Registration Form
========================================================== */

#registration-form{
  display:flex;
  flex-direction:column;
  gap:2.25rem;
}


#registration-form h4{
  color:var(--secondary-base);
  margin-bottom:1.25rem;
  padding-bottom:.6rem;
  border-bottom:2px solid var(--tertiary);
}


.form-layout{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.5rem;
}


.form-item{
  display:flex;
  flex-direction:column;
}


.form-item.full{
  grid-column:1/-1;
}


label{
  display:block;
  font-weight:500;
  color:var(--header-color);
  margin-bottom:.45rem;
}


.required::after{
  content:" *";
  color:#d9534f;
}


/* ==========================================================
   Form Elements
========================================================== */

input,
select,
textarea{
  width:100%;
  padding:.4rem 1rem;
  border:1px solid #d9d9d9;
  border-radius:10px;
  background:var(--white);
  transition:.25s;
  font-size:.95rem;
}


input:hover,
select:hover,
textarea:hover{
  border-color:var(--secondary-base);
}


input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--secondary-base);
  box-shadow:0 0 0 3px rgba(42,110,187,.15);
}


textarea{
  resize:vertical;
}


/* ==========================================================
   Role Selection Buttons
========================================================== */

.role-item{
    display:flex;
    gap:.75rem;
    flex-wrap:wrap;
    margin-top:.5rem;
}


.role-item input[type="radio"]{
    display:none;
}


.role-item label{
    min-width:100px;
    text-align:center;
    padding:.6rem 1rem;
    margin:0;
    cursor:pointer;

    border:2px solid #d9d9d9;
    border-radius:10px;

    background:var(--white);
    color:var(--text-dark);
    font-weight:500;

    transition:.25s ease;
}

.role-item label:hover{
    border-color:var(--secondary-base);
    background:#f6f9fe;
}


.role-item input[type="radio"]:checked + label{
    background:var(--secondary-base);
    color:var(--white);
    border-color:var(--secondary-base);
    box-shadow:0 6px 14px rgba(42,110,187,.25);
}


.role-item input[type="radio"]:focus + label{
    outline:3px solid rgba(42,110,187,.2);
    outline-offset:2px;
}


/* ==========================================================
   Other Fields
========================================================== */

.form-fields{
  margin-top:.5rem;
}


.hint{
  margin-top:.8rem;
  border-radius:8px;
  color:#666;
  font-size:.92rem;
}

/* ==========================================================
   Summary
========================================================== */

.summary h2{
  margin-bottom:.35rem;
}


.sub{
  color:#777;
  margin-bottom:1.5rem;
}


.price{
  text-align:center;
  padding:1.6rem 0;
  margin:1.5rem 0;

  border-top:1px solid #e6e6e6;
  border-bottom:1px solid #e6e6e6;
}


.price span{
  display:block;
  font-size:3rem;
  font-weight:700;
  color:var(--secondary-base);
}


.price small{
  color:#777;
}


#second-paper-block{
  margin-top:2rem;
}


.lines{
  margin-bottom:1.5rem;
}


.kv{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:.9rem 0;
    border-bottom:1px solid #ececec;
}


.kv:last-child{
    border-bottom:none;
}


.empty{
    text-align:center;
    color:#888;
    padding:2rem 0;
}


/* ==========================================================
   Payment
========================================================== */

.pay{
    margin-top:2rem;
}


.payment-item{
    background:#fafafa;

    border:1px solid #ececec;
    border-radius:10px;

    padding:1rem;
    margin-bottom:1rem;
}


.payment-item .btn{
    width:100%;
    margin-top:1rem;
}


.placeholder-note{
    margin-top:1rem;

    padding:1rem;

    background:#fff8e8;
    border:1px solid var(--tertiary);
    border-radius:10px;

    color:#7a5b00;
}


/* ==========================================================
   Buttons
========================================================== */

.btns{
    display:flex;
    flex-direction:column;

    gap:1rem;
    margin-top:2rem;
}


.btns .btn{
    width:100%;
}


/* ==========================================================
   Divider
========================================================== */

.summary hr{
    border:none;
    border-top:1px solid #e5e5e5;

    margin:1.75rem 0;
}


/* ==========================================================
   Responsive
========================================================== */

@media (max-width:992px){

    .registration-layout{
        grid-template-columns:1fr;
    }


    .summary{
        position:static;
    }

}


@media (max-width:768px){

    .register-info-form,
    .pad{
        padding:1.5rem;
    }


    .form-layout{
        grid-template-columns:1fr;
    }


    .price span{
        font-size:2.4rem;
    }

}


@media (max-width:576px){

    .payment-section{
        padding:2rem 0 3rem;
    }


    .register-info-form,
    .pad{
        padding:1.25rem;
    }


    .role-item{
        flex-direction:column;
        align-items:flex-start;
        gap:.75rem;
    }


    .price span{
        font-size:2rem;
    }

}