/* Base and Global */
* {
  box-sizing: border-box;
}

body {
  background-image: url('/assets/PR-MS-Background.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  height: 100vh;
  width: 100vw;
  margin: 0;
  color: white;
  overflow: hidden;
}

h4{width:auto;}

#root{
  height:100%;
  width:100%;
  overflow:hidden;
}

.information_area{
    height:100vh;
    width:100vw;
    padding:15%;
}

.verification-toggle{
  display:flex;
  justify-content: space-between;
  align-items: center;
}

.verification-toggle div{
    background-color:rgb(0, 114, 255);
    padding:10px 20px;
    border-radius:10px;
    cursor: pointer;
    width:45%;
}

.frontend-page-container{
    height:100%;
    display:flex;
    flex-direction: column;
    justify-content: center;
    padding-top:150px;
    padding-bottom:50px;
    box-sizing:border-box;
}

.verification-form {
    width: 50vw;
    max-width: 100%;
    align-self: center;
    border-radius: 7px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    overflow-y:auto;
    box-sizing:border-box;
}

.stripe-fields{
  width:100%;
}

.stripe-fields .StripeElement{
  margin:0;
  background-color: white;
    padding:5px;
    border-radius:7px;
    align-self: center;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.stripe-fields .StripeElement {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 7px;
  border: 2px solid transparent;
  background: #fff;
  color: #333;
  outline: none;
  transition: all 0.3s ease-in-out;
  letter-spacing: 0.3px;
}

.stripe-fields .StripeElement::placeholder {
  color: #888;
}

.stripe-fields .StripeElement:focus {
  border-color: #00c6ff;
  box-shadow: 0 0 0 4px rgba(0, 198, 255, 0.15);
  background: #fff;
}

.payment-form{
    width: 100%;
    align-self: center;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    box-sizing:border-box;
}

.payment-form div{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.active{
    border:solid 3px white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message_center{
    width:100%;
    border:solid 4px red;
    border-radius:10px;
    padding:20px;
}

.notice{
    width:100%;
    border:solid 4px white;
    border-radius:10px;
    padding:20px;
}

.charge-amount-container{
  border:solid 1px white;
  padding:20px;
  border-radius: 7px;
  
  display:flex;
  flex-direction: column;
  row-gap: 10px;
}

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

/* Buttons */
.button,
.verification-button,
.payment-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: transform 0.25s ease-in-out, box-shadow 0.5s ease-in-out;
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  width: 100%;
}

.button::before,
.verification-button::before,
.payment-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0072ff, #00c6ff);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: -1;
}

.button:hover::before,
.verification-button:hover::before,
.payment-button:hover::before {
  opacity: 1;
}

.button:hover,
.verification-button:hover,
.payment-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 81, 110, 0.5);
}

.button:active,
.verification-button:active,
.payment-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(20, 81, 110, 0.4);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(30%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Inputs */
.text_inputs {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 7px;
  border: 2px solid transparent;
  background: #fff;
  color: #333;
  outline: none;
  transition: all 0.3s ease-in-out;
  letter-spacing: 0.3px;
}

.text_inputs::placeholder {
  color: #888;
}

.text_inputs:focus {
  border-color: #00c6ff;
  box-shadow: 0 0 0 4px rgba(0, 198, 255, 0.15);
  background: #fff;
}

/* compliments of the css examples found at https://getcssscan.com/css-checkboxes-examples */
.checkbox_input {
  appearance: none;
  -webkit-appearance: none;
  background-color: #dfe1e4;
  border-radius: 72px;
  border-style: none;
  flex-shrink: 0;
  height: 30px;
  margin: 0;
  position: relative;
  width: 60px; /* 30 */
  cursor: pointer;
  transition: all 100ms ease-out;
  outline: none;
}

.checkbox_input::before {
  bottom: -6px;
  content: "";
  left: -6px;
  position: absolute;
  right: -6px;
  top: -6px;
}

.checkbox_input::after {
  background-color: #fff;
  border-radius: 50%;
  content: "";

  position: absolute;
  left: 4px;/* 3 */
  top: 4px;/* 3 */

  height: 22px;/* 14 */
  width:  22px;/* 14 */

  transition: all 200ms ease-out;
}

.checkbox_input:hover {
  background-color: #c9cbcd;
  transition-duration: 0s;
}

.checkbox_input:checked {
  background-color: #00c6ff;
}

.checkbox_input:checked::after {
  background-color: #fff;
  left: 34px; /* 13 */
}

.checkbox_input:checked:hover {
  background-color: #00b2e6;
}

/* Remove focus outline unless focus-visible */
:focus:not(.focus-visible) {
  outline: 0;
}


/* Layout Helpers */
.verification-input-container,
#payment,
.input-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.workshop-info {
  row-gap: 5px;
  width:100%;
}

.workshop-info div{
  flex-wrap:wrap;
  width:100%;
  row-gap:15px;

}

.workshop-info-col{
  min-width:150px;
  width:45%;
}

.w-50{
  width:50%;
}

.row{
  display: flex;
  flex-direction: row;
}

.col{
  display: flex;
  flex-direction: column;
}

.workshop-info div h4,
.workshop-info div p {
  margin: 0;
}

.workshop-info div p {
  padding-left: 20px;
}

/* Error/Success Messages */
.error_msg,
.success_msg {
  width: 100%;
  text-align: center;
  padding: 5px;
}

.error_msg {
  border: solid 3px red;
}

.success_msg {
  border: solid 3px greenyellow;
}

/* Other */
.hidden {
  display: none;
}

.strikethrough-red {
  width:auto !important;
  position: relative;
  display: inline-block;
}

.strikethrough-red::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: red;
  transform: translateY(-50%);
  pointer-events: none;
}

a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-family: Arial, sans-serif;
  display: block;
}

a:hover {
  filter: contrast(120%);
}

/* Animations
@keyframes loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInAnimation {
  to { opacity: 1; }
}
*/
/* Responsive */
@media only screen and (max-width: 600px) {
    body {
        overflow: hidden;
    }
    .verification-form{
        width:100vw;
    }
}
