body {font-family: Verdana, Geneva, sans-serif;font-size: 14px;background: #f2f2f2;}
.clearfix:after {content: "";display: block;clear: both;visibility: hidden;height: 0;}
.form_wrapper {background: #fff;width: 400px;max-width: 100%;box-sizing: border-box;padding: 25px;margin: 1% auto 0;position: relative;z-index: 1;border-top: 5px solid #f5ba1a;-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);-webkit-transform-origin: 50% 0%;transform-origin: 50% 0%;-webkit-transform: scale3d(1, 1, 1);transform: scale3d(1, 1, 1);-webkit-transition: none;transition: none;-webkit-animation: expand 0.8s 0.6s ease-out forwards;animation: expand 0.8s 0.6s ease-out forwards;opacity: 0;}
.form_wrapper h2 {font-size: 1.5em;line-height: 1.5em;margin: 0;}
.form_wrapper .title_container {text-align: center;padding-bottom: 15px;}
.form_wrapper h3 {font-size: 1.1em;font-weight: normal;line-height: 1.5em;margin: 0;}
.form_wrapper label {font-size: 12px;}
.form_wrapper .row {margin: 10px -15px;}
.form_wrapper .row > div {padding: 0 15px;box-sizing: border-box;}
.form_wrapper .col_half {width: 50%;float: left;}
.form_wrapper .input_field {position: relative;margin-bottom: 20px;-webkit-animation: bounce 0.6s ease-out;animation: bounce 0.6s ease-out;}
.form_wrapper .input_field > span {position: absolute;left: 0;top: 0;color: #333;height: 100%;border-right: 1px solid #cccccc;text-align: center;width: 30px;}
.form_wrapper .input_field > span > i {padding-top: 10px;}
.form_wrapper .textarea_field > span > i {padding-top: 10px;}
.form_wrapper input[type=text], .form_wrapper input[type=email], .form_wrapper input[type=password] {width: 100%;padding: 8px 10px 9px 35px;height: 35px;border: 1px solid #cccccc;box-sizing: border-box;outline: none;-webkit-transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;}
.form_wrapper input[type=text]:hover, .form_wrapper input[type=email]:hover, .form_wrapper input[type=password]:hover {background: #fafafa;}
.form_wrapper input[type=text]:focus, .form_wrapper input[type=email]:focus, .form_wrapper input[type=password]:focus {-webkit-box-shadow: 0 0 2px 1px rgba(255, 169, 0, 0.5);-moz-box-shadow: 0 0 2px 1px rgba(255, 169, 0, 0.5);box-shadow: 0 0 2px 1px rgba(255, 169, 0, 0.5);border: 1px solid #f5ba1a;background: #fafafa;}
.form_wrapper input[type=submit] {background: #f5ba1a;height: 35px;line-height: 35px;width: 100%;border: none;outline: none;cursor: pointer;color: #fff;font-size: 1.1em;margin-bottom: 10px;-webkit-transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;}
.form_wrapper input[type=submit]:hover {background: #e1a70a;}
.form_wrapper input[type=submit]:focus {background: #e1a70a;}
.form_wrapper input[type=checkbox], .form_wrapper input[type=radio] {border: 0;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}
.form_container .row .col_half.last {border-left: 1px solid #cccccc;}
.checkbox_option label {margin-right: 1em;position: relative;}
.checkbox_option label:before {content: "";display: inline-block;width: 0.5em;height: 0.5em;margin-right: 0.5em;vertical-align: -2px;border: 2px solid #cccccc;padding: 0.12em;background-color: transparent;background-clip: content-box;transition: all 0.2s ease;}
.checkbox_option label:after {border-right: 2px solid #000000;border-top: 2px solid #000000;content: "";height: 20px;left: 2px;position: absolute;top: 7px;transform: scaleX(-1) rotate(135deg);transform-origin: left top;width: 7px;display: none;}
.checkbox_option input:hover + label:before {border-color: #000000;}
.checkbox_option input:checked + label:before {border-color: #000000;}
.checkbox_option input:checked + label:after {-moz-animation: check 0.8s ease 0s running;-webkit-animation: check 0.8s ease 0s running;animation: check 0.8s ease 0s running;display: block;width: 7px;height: 20px;border-color: #000000;}
.radio_option label {margin-right: 1em;}
.radio_option label:before {content: "";display: inline-block;width: 0.5em;height: 0.5em;margin-right: 0.5em;border-radius: 100%;vertical-align: -3px;border: 2px solid #cccccc;padding: 0.15em;background-color: transparent;background-clip: content-box;transition: all 0.2s ease;}
.radio_option input:hover + label:before {border-color: #000000;}
.radio_option input:checked + label:before {background-color: #000000;border-color: #000000;}

.select_option {position: relative;width: 100%;}
.select_option select {display: inline-block;width: 100%;height: 35px;padding: 0px 15px;cursor: pointer;color: #7b7b7b;border: 1px solid #cccccc;border-radius: 0;background: #fff;appearance: none;-webkit-appearance: none;-moz-appearance: none;transition: all 0.2s ease;}
.select_option select::-ms-expand {display: none;}
.select_option select:hover, .select_option select:focus {color: #000000;background: #fafafa;border-color: #000000;outline: none;}
.select_arrow {position: absolute;top: calc(50% - 4px);right: 15px;width: 0;height: 0;pointer-events: none;border-width: 8px 5px 0 5px;border-style: solid;border-color: #7b7b7b transparent transparent transparent;}
.select_option select:hover + .select_arrow, .select_option select:focus + .select_arrow {border-top-color: #000000;}
.credit {position: relative;z-index: 1;text-align: center;padding: 15px;color: #f5ba1a;}
.credit a {color: #e1a70a;}

@-webkit-keyframes check {
  0% {height: 0;width: 0;}
  25% {height: 0;width: 7px;}
  50% {height: 20px;width: 7px;}
}
@keyframes check {
  0% {height: 0;width: 0;}
  25% {height: 0;width: 7px;}
  50% {height: 20px;width: 7px;}
}
@-webkit-keyframes expand {
  0% {-webkit-transform: scale3d(1, 0, 1);opacity: 0;}
  25% {-webkit-transform: scale3d(1, 1.2, 1);}
  50% {-webkit-transform: scale3d(1, 0.85, 1);}
  75% {-webkit-transform: scale3d(1, 1.05, 1);}
  100% {-webkit-transform: scale3d(1, 1, 1);opacity: 1;}
}
@keyframes expand {
  0% {-webkit-transform: scale3d(1, 0, 1);transform: scale3d(1, 0, 1);opacity: 0;}
  25% {-webkit-transform: scale3d(1, 1.2, 1);transform: scale3d(1, 1.2, 1);}
  50% {-webkit-transform: scale3d(1, 0.85, 1);transform: scale3d(1, 0.85, 1);}
  75% {-webkit-transform: scale3d(1, 1.05, 1);transform: scale3d(1, 1.05, 1);}
  100% {-webkit-transform: scale3d(1, 1, 1);transform: scale3d(1, 1, 1);opacity: 1;}
}
@-webkit-keyframes bounce {
  0% {-webkit-transform: translate3d(0, -25px, 0);opacity: 0;}
  25% {-webkit-transform: translate3d(0, 10px, 0);}
  50% {-webkit-transform: translate3d(0, -6px, 0);}
  75% {-webkit-transform: translate3d(0, 2px, 0);}
  100% {-webkit-transform: translate3d(0, 0, 0);opacity: 1;}
}
@keyframes bounce {
  0% {-webkit-transform: translate3d(0, -25px, 0);transform: translate3d(0, -25px, 0);opacity: 0;}
  25% {-webkit-transform: translate3d(0, 10px, 0);transform: translate3d(0, 10px, 0);}
  50% {-webkit-transform: translate3d(0, -6px, 0);transform: translate3d(0, -6px, 0);}
  75% {-webkit-transform: translate3d(0, 2px, 0);transform: translate3d(0, 2px, 0);}
  100% {-webkit-transform: translate3d(0, 0, 0);transform: translate3d(0, 0, 0);opacity: 1;}
}
@media (max-width: 600px) {
  .form_wrapper .col_half {width: 100%;float: none;}
  .bottom_row .col_half {width: 50%;float: left;}
  .form_container .row .col_half.last {border-left: none;}
  .remember_me {padding-bottom: 20px;}
}
textarea {width: 86%;padding: 8px 10px 9px 35px;resize: none;}
input {text-transform: uppercase;}
#btnValidate {position: absolute;right: 3%;top: 20%;}
.center {text-align: center;}
body {display: flex;justify-content: center;align-items: center;min-height: 100vh;}
.img-logo {height: 50px;border-radius: 50%;}

/* Inline Field Error Message & Validation Styling */
.field-error {
    border-color: #e53935 !important;
    background-color: #fff6f6 !important;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.15) !important;
    animation: fieldShake 0.4s ease-in-out;
}

.error-text-msg {
    color: #e53935 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-top: -12px !important;
    margin-bottom: 14px !important;
    display: block !important;
    padding-left: 8px !important;
    line-height: 1.3 !important;
    text-shadow: 0 0 1px rgba(229, 57, 53, 0.2);
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.modern-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modern-modal-content {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 440px;
    width: 90%;
    box-sizing: border-box;
}

.modern-modal-overlay.show .modern-modal-content {
    transform: translateY(0) scale(1);
}

.modal-warning-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fef2f2;
    border: 2px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #ef4444;
}

.modal-warning-icon svg {
    width: 36px;
    height: 36px;
}

.modal-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid #86efac;
    box-shadow: 0 0 15px rgba(129, 199, 132, 0.2);
}

.modal-success-icon svg {
    width: 40px;
    height: 40px;
    fill: #22c55e;
}

.modern-modal-content h2 {
    color: #1e293b;
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
}

.modern-modal-content p {
    color: #64748b;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
}

.validation-error-list {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 24px;
    text-align: left;
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
}

.validation-error-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.validation-error-list li {
    font-size: 13.5px;
    font-weight: 600;
    color: #dc2626;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.validation-error-list .bullet-icon {
    margin-right: 8px;
    font-size: 18px;
    line-height: 1;
}

.modern-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modern-modal-actions button {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-modal-warning-ok {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.btn-modal-warning-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-modal-home {
    background: #f1f5f9;
    color: #475569;
}
.btn-modal-home:hover {
    background: #e2e8f0;
}

.btn-modal-ok {
    background: #0072bc;
    color: white;
}
.btn-modal-ok:hover {
    background: #005a96;
}