/* Minification failed. Returning unminified contents.
(243,21): run-time error CSS1030: Expected identifier, found '['
(243,26): run-time error CSS1031: Expected selector, found '='
(243,26): run-time error CSS1025: Expected comma or open brace, found '='
(249,21): run-time error CSS1030: Expected identifier, found '['
(249,26): run-time error CSS1031: Expected selector, found '='
(249,26): run-time error CSS1025: Expected comma or open brace, found '='
 */
* {
  margin: 0;
  padding: 0;
box-sizing: border-box;
}

body {

    background: linear-gradient(135deg,#1a1a1a 0%,#2d2d2d 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height:1.6;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
}

.farpay-login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}
.farpay-login-card {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.farpay-login-logo{
    max-width: 160px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.farpay-logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.farpay-login-h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.farpay-subtitle {
    color: #666;
    font-size: 16px;
    font-weight: 400;
}

.farpay-login-form {
    margin-bottom: 32px
}
.farpay-login-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.farpay-back-button-container {
    text-align: center;
    margin-top: 24px;
}

.farpay-back-button-container .login-btn {
    display: inline-block;
    text-decoration: none;
}

.farpay-a-btn {
    text-decoration: none;
    display:block;
    text-align: center
}

/* Animation for card entrance */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.farpay-login-card {
    animation: slideUp 0.6s ease-out;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none !important;
    border-color: #ff6633 !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(255, 102, 51, 0.1) !important;
}

/* Focus states for form groups */
.farpay-form-group.focused label {
    color: #ff6633 !important;
}

input::placeholder {
    color: #999;
}

.farpay-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 20px;
}

.farpay-progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: width 0.6s ease;
    -o-transition: width 0.6s ease;
    transition: width 0.6s ease;
}

.progress-bar-warning {
    background-color: #f0ad4e;
}

.progress-bar-danger {
    background-color: #d9534f;
}

.progress-bar-success {
    background-color: #5cb85c;
}

.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Set password button */
.set-password-btn {
    width: 100%;
    margin-top: 8px;
}

.set-password-btn.disabled {
    background: #ccc !important;
    cursor: not-allowed;
    transform: none;
}

.set-password-btn.disabled:hover {
    background: #ccc !important;
    transform: none;
    box-shadow: none;
}

.farpay-progress-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
    min-height: 20px;
}

/* Checkbox styles */
.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    display: inline-block;
}

/* Hide the actual checkbox input */
.checkmark input[type="checkbox"] {
    display: none;
}

/* Checked state styles */
.checkmark input[type="checkbox"]:checked + .checkmark,
.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background: #ff6633;
    border: 2px solid #ff6633;
}

/* Since the input is inside the checkmark span, we need a different approach */
.checkmark:has(input[type="checkbox"]:checked) {
    background: #ff6633;
    border: 2px solid #ff6633;
}

/* Checkmark symbol */
.checkmark:has(input[type="checkbox"]:checked)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    margin-top: -1px; /* Fine-tune vertical alignment */
}

/* Fallback for browsers that don't support :has() */
.checkmark.checked {
    background: #ff6633;
    border: 2px solid #ff6633;
}

.checkmark.checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    margin-top: -1px; /* Fine-tune vertical alignment */
}

/* Login button */
.login-btn {
    background: #ff6633;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 120px;
}

.login-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 51, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

/* Forgot password section */
.farpay-forgot-password {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.farpay-forgot-password p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.farpay-password-link {
    color: #ff6633;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.farpay-password-link:hover {
    color: #e55a2b;
    text-decoration: underline;
}


/* Status footer */
.status-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.status-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.status-footer a:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.status-footer svg {
    width: 16px;
    height: 16px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    animation: pulse 2s infinite;
    background: #2ed573; /* Default green color */
}

.status-indicator.operational {
    background: #2ed573;
}

.status-indicator.degraded {
    background: #ffa502;
}

.status-indicator.outage {
    background: #ff4757;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.error-icon {
    text-align: center;
    color: #ff4757;
    margin-bottom: 16px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Error and success states */
.error-message {
    color: #ff4757;
    font-size: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.error-message::before {
    content: '⚠';
    font-size: 14px;
}

.farpay-form-group.has-error input {
    border-color: #ff4757;
    background: #fff5f5;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}


.forgot-password-btn {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 32px;
}

.farpay-link {
    color: #ff6633;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.farpay-link:hover {
    color: #e55a2b;
    text-decoration: underline;
}

.back-to-login {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.back-to-login p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

#container {
  text-align: center;
  position: relative;
  vertical-align: middle;
  display: table-cell;
  height: 400px; 
}

#inner {
  width: 360px;
  height: 430px;
  text-align: center;
  margin-left: auto;
  margin-right: auto; 
}

/*p, input, button, select, textarea {
  font-family: 'open_sansregular'; 
}*/

.form-signin {
  max-width: 260px;
  min-width: 260px;
  padding: 19px 29px 29px;
  margin: 0 auto 20px;
  background-color: #fff;
  border: 1px solid #9ec7ef;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
}

/*
.form-signin input[type="text"], .form-signin input[type="password"], .form-signin input[type="email"] {
  font-size: 16px;
  height: auto;
  margin-bottom: 10px;
  padding: 7px 9px;
  font-family: 'open_sansregular', helvetica, arial, sans-serif; }
*/

.col-left {
  float: left; }

.col-right {
  float: right; }

#top{
    width: 100%;
    height: 104px;
    padding: 20px 20px 20px 20px;
}

.modal-body textarea, .modal-body input[type="text"] {
  width: 97%; }

.clear {
  clear: both; }

.field-validation-error {
  display: block;
  margin-bottom: 5px;
  color: #ed1f24; }

.modal.fade.in {
  top: 60%; }

/*h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-family: 'open_sansbold';
  text-align: left; }*/

h4 {
  margin-bottom: 20px; }

.modal {
  text-align: left; }


/*select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
  border-radius: 2px; }

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  !* IE6-9 *!
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.3);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.3);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.3); }*/

.img-responsive {
     margin: 0 auto !important;
}

.farpay-form-group{
    margin-bottom: 32px;
}

.login-bottom > p{
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 20px !important;
    
}


.messageBody {
    font-family: Helvetica, Arial, sans-serif !important;
}


/* ONLY FOR MOBILE DEVICES */
@media only screen and (max-device-width: 500px) {
  body {
    min-width: 96%; }
  #inner {
    width: 100%; }
  .form-signin {
    max-width: 96%;
    margin: 0 auto; }
  .modal {
    width: 320px;
    margin: -250px 0 0 -160px; }
  .modal.fade.in {
    top: 80%; } }

/* RETINA DISPLAY */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #logo {
    background-image: url('../images/core/farpay-logo.png'); } }
