/* General Styles for Spotify-inspired Banking Pages */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

:root {
    --primary-color: #1DB954;
    --primary-color-hover: #1ED760;
    --background-color: #121212;
    --container-background: #282828;
    --input-background: #3E3E3E;
    --text-color: #ffffff;
    --error-color: #ff4444;
    --link-color: #1DB954;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 1rem;
    text-align: center;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.main-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.container, .payment-container, .approval-container {
    background-color: var(--container-background);
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1, h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control, input[type="text"], input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background-color: var(--input-background);
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
}

.button, button[type="submit"] {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-transform: uppercase;
}

.button:hover, button[type="submit"]:hover {
    background-color: var(--primary-color-hover);
}

.error-message {
    color: var(--error-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.link, a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.link:hover, a:hover {
    opacity: 0.8;
}

.footer {
    background-color: var(--container-background);
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
}

/* Loading Styles */
.loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.spinner {
    border: 4px solid rgba(29, 185, 84, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Transaction Approval Styles */
.transaction-info {
    background-color: var(--input-background);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}
.approval-container {
  position: relative;
  min-height: 300px; /* Adjust as needed */
}

.approval-container .spinner {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Card type indicator styles */
.card-type-indicator {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 25px;
}

.form-group {
  position: relative;
}
.mobile-prompt {
    margin-top: 1rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 480px) {
    .container, .payment-container, .approval-container {
        padding: 1.5rem;
    }

    h1, h2 {
        font-size: 1.3rem;
    }

    .form-control, input[type="text"], input[type="tel"], .button, button[type="submit"] {
        font-size: 0.9rem;
    }
}

/* PayLife Styles */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: url('assets/background.jpg') right center no-repeat;
    background-size: auto 100%;
}

.login-container {
    background-color: white;
    border-radius: 6px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-container {
    max-width: 480px;
}

.logo-container {
    text-align: left;
    margin-bottom: 20px;
}

.logo {
    width: 140px;
    height: auto;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.half {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #000066;
}

.forgot-link {
    display: block;
    margin-top: 8px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.register-button-container {
    text-align: right;
    margin-top: 30px;
    margin-bottom: 30px;
}

.register-button {
    background-color: #778899;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-button:hover {
    background-color: #6b7c8c;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error-text {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.not-registered {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.not-registered p {
    font-size: 14px;
    margin-bottom: 5px;
}

.request-password-button {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 10px 15px;
    border: 1px solid #000066;
    border-radius: 4px;
    color: #000066;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.request-password-button:hover {
    background-color: #f0f0f8;
}

.more-info {
    margin-top: 15px;
    font-size: 14px;
}

.app-link {
    color: #007bff;
    text-decoration: none;
}

.app-link:hover {
    text-decoration: underline;
}

footer {
    background-color: #fff;
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-link {
    color: #000;
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-left: auto;
}

/* Step indicator styles */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin: 0 20px;
    position: relative;
    z-index: 2;
}

.step::before, .step::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: #e0e0e0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.step::before {
    right: 100%;
    width: 20px;
}

.step::after {
    left: 100%;
    width: 20px;
}

.step:first-child::before,
.step:last-child::after {
    display: none;
}

.step.active {
    background-color: #000066;
    color: white;
}

.step.completed {
    background-color: #28a745;
    color: white;
}

.step.active::before,
.step.completed::before,
.step.completed::after {
    background-color: #28a745;
}

/* Security badge styles */
.security-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    border: 1px solid #e2e5e8;
}

.security-badge .lock-icon {
    margin-right: 6px;
}

/* Loading page styles */
.loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #fff;
}

.loading-logo {
    width: 160px;
    margin-bottom: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000066;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 20px;
    font-size: 16px;
    color: #333;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive styling */
@media (max-width: 768px) {
    .container {
        background-position: center;
        background-size: cover;
        padding: 15px;
    }
    
    .login-container {
        padding: 20px;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-logo {
        margin: 10px auto 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .security-info {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 15px;
    }
    
    .register-button-container {
        text-align: center;
    }
    
    .footer-content {
        justify-content: center;
        text-align: center;
    }
    
    .footer-link {
        margin: 0 10px;
    }
    
    .footer-logo {
        margin-top: 15px;
        display: block;
    }
    
    .step {
        margin: 0 15px;
    }
}

/* Add OTP page styles */

.verification-info {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.otp-timer {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}

#timer {
    font-weight: 600;
    color: #000066;
}

.resend-code {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.request-code-button {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.request-code-button:hover {
    text-decoration: underline;
}

.request-code-button.active {
    font-weight: 600;
}

/* Add approval page styles */

.approval-container {
    max-width: 480px;
}

.approval-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.approval-text {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.approval-box {
    background-color: #f8f9fa;
    border: 1px solid #e2e5e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.approval-amount {
    font-size: 32px;
    font-weight: 700;
    color: #000066;
    text-align: center;
    margin: 20px 0;
}

.currency {
    font-weight: 400;
    margin-right: 5px;
}

.approval-details {
    border-top: 1px solid #e2e5e8;
    border-bottom: 1px solid #e2e5e8;
    padding: 15px 0;
    margin-bottom: 20px;
}

.approval-details p {
    margin-bottom: 10px;
    font-size: 14px;
}

.approval-details p:last-child {
    margin-bottom: 0;
}

.approval-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.approval-spinner p {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Add success page styles */

.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
    animation: scale-in 0.5s ease-out;
}

.success-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.redirect-info {
    font-size: 14px;
    color: #666;
}

.countdown {
    font-weight: 600;
    color: #000066;
}

@keyframes scale-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

/* Update desktop layout styling */

@media (min-width: 1024px) {
    body {
        margin: 0;
        padding: 0;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
        background-color: #fff;
        color: #333;
        overflow-x: hidden;
    }
    
    .container {
        display: grid;
        grid-template-columns: 400px 1fr;
        min-height: 100vh;
        max-height: 100vh;
        margin: 0;
        padding: 0;
        background: none;
    }
    
    .login-container {
        max-width: 400px;
        padding: 30px;
        height: 100vh;
        background-color: white;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
    }
    
    .background-container {
        display: block;
        background: url('assets/background.jpg') center center no-repeat;
        background-size: cover;
        height: 100vh;
        width: 100%;
    }
    
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background-color: #F3F3F8;
        border-top: none;
        height: 50px;
    }
    
    .logo {
        max-width: 150px;
        margin-bottom: 20px;
    }
    
    .login-title {
        font-size: 24px;
        margin-bottom: 20px;
        font-weight: bold;
        color: #000;
    }
    
    .register-button {
        background-color: #000066;
        color: white;
        border-radius: 4px;
        padding: 12px 20px;
        font-weight: 600;
        text-transform: uppercase;
        border: none;
        width: 100%;
        cursor: pointer;
        height: 40px;
        margin-top: 14px;
    }
    
    .form-control {
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
        width: 100%;
        height: 40px;
        font-size: 13px;
        line-height: 30px;
    }
    
    .forgot-link {
        font-size: 14px;
        color: #0088cc;
        text-decoration: none;
        display: block;
        margin-top: 8px;
        margin-bottom: 20px;
    }
    
    .forgot-link:hover {
        text-decoration: underline;
        color: #006fa6;
    }
    
    .not-registered {
        margin-top: 30px;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }
    
    .request-password-button {
        display: inline-block;
        margin-top: 15px;
        margin-bottom: 20px;
        padding: 10px 15px;
        border: 1px solid #000066;
        border-radius: 4px;
        color: #000066;
        text-decoration: none;
        font-size: 14px;
        transition: background-color 0.3s;
    }
    
    .request-password-button:hover {
        background-color: #f0f0f8;
    }
    
    .more-info {
        margin-top: 20px;
        font-size: 14px;
    }
    
    .app-link {
        color: #0088cc;
        text-decoration: none;
    }
    
    .app-link:hover {
        text-decoration: underline;
        color: #006fa6;
    }
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 30px;
        line-height: 50px;
    }
    
    .footer-link {
        color: #000066;
        text-decoration: underline;
        margin-right: 20px;
        font-weight: bold;
    }
    
    .footer-logo {
        height: 17px;
        width: auto;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .not-registered p {
        font-size: 14px;
        font-weight: bold;
        color: #131e7e;
        margin-bottom: 5px;
        text-align: left;
    }
}

/* PayLife specific styles */
#sesam2 {
    background-color: #fff;
    cursor: default;
}

#sesam2 * {
    white-space: normal;
}

#sesam2 .facelift.page-container {
    position: relative;
    min-height: 100vh;
}

#sesam2 #authenticationContainer .full-size-image {
    display: none;
    position: relative;
}

@media (min-width: 741px) {
    #sesam2 #authenticationContainer .full-size-image {
        display: block;
    }
}

#sesam2 #authenticationContainer .full-size-image::after {
    content: "";
    position: absolute;
    right: 0;
    width: 100%;
    height: calc(100% + 20px);
    min-height: calc(100vh - 50px);
    background-image: url("assets/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#sesam2 #authenticationContainer #authenticationSection #loginContainer {
    position: relative;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#sesam2 #authenticationContainer #authenticationSection #registerContainer {
    width: 100%;
    margin: 50px 2px;
}

#sesam2 #authenticationContainer #headerContainer {
    margin-top: 20px;
    margin-bottom: 50px;
    margin-left: 10px;
}

#sesam2 #footerContainer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 60px !important;
    background-color: #fff;
    border-top: 1px solid #bfbfbf;
    overflow: hidden;
    color: #333;
}

@media (min-width: 741px) {
    #sesam2 #footerContainer {
        position: absolute;
        display: block;
        height: 50px !important;
        background-color: #F3F3F8;
        border: none;
    }

    #sesam2 #footerContainer .footer-content {
        line-height: 50px;
    }
}

#sesam2 #authenticationContainer #authenticationSection #loginForm {
    padding: 0;
}

#sesam2 .panel {
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 14px;
    position: relative;
}

@media (min-width: 741px) {
    #sesam2 .panel {
        padding: 15px;
    }
}

#sesam2 .facelift .panel {
    -moz-box-shadow: 0px 3px 6px 0px #0000001A;
    -webkit-box-shadow: 0px 3px 6px 0px #0000001A;
    box-shadow: 0px 3px 6px 0px #0000001A;
}

#sesam2 .form-signin-heading {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
    font-weight: bold;
}

#sesam2 a {
    color: #0088cc;
    text-decoration: none;
}

#sesam2 a:hover {
    color: #006fa6;
    text-decoration: underline;
    cursor: pointer;
}

#sesam2 .button-container {
    margin-top: 20px;
}

#sesam2 #authenticationContainer #authenticationSection #loginForm .input-group {
    padding: 0;
    width: 100%;
    margin: 0px !important;
}

#sesam2 input[type="text"], 
#sesam2 input[type="password"] {
    font-size: 13px;
    height: 40px;
    line-height: 30px;
    padding: 5px 8px;
    margin-bottom: 10px;
}

#sesam2 #authenticationContainer #authenticationSection #loginForm .form-control {
    height: 40px !important;
    margin: 0px !important;
}

#sesam2 .form-signin-label {
    font-weight: bold;
    margin-bottom: 5px;
}

/* For smaller screens */
@media (max-width: 740px) {
    #sesam2 .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #sesam2 .login-container {
        padding: 20px 15px;
    }
    
    #sesam2 #headerContainer {
        text-align: center;
        margin-bottom: 20px;
    }
    
    #sesam2 .logo {
        height: 40px;
        width: auto;
    }
    
    #sesam2 .register-button {
        width: 100%;
    }
    
    #authenticationSection #loginForm .round-input-edges {
        border-radius: 4px;
    }
}

.d-none {
    display: none !important;
}

@media (min-width: 741px) {
    .d-md-block {
        display: block !important;
    }
}

/* Fix for the Bootstrap icons */
.bi-eye:before {
    content: "\f341";
}

.bi-x-circle-fill:before {
    content: "\f622";
}

@font-face {
    font-display: block;
    font-family: "bootstrap-icons";
    src: url("https://my.paylife.at/Content/Fonts/bootstrap-icons.woff2") format("woff2"),
         url("https://my.paylife.at/Content/Fonts/bootstrap-icons.woff") format("woff");
}

.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Grid layout classes for bootstrap-like structure */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.container-fluid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.container {
    max-width: 540px;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

/* Media queries for grid */
@media (min-width: 741px) {
    .container {
        max-width: 720px;
    }
    
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66667%;
    }
    
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    
    .offset-lg-2 {
        margin-left: 16.66667%;
    }
}

/* Input group styles */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

/* Clear float utility */
.clearfix:after {
    display: block;
    clear: both;
    content: "";
}

.float-start {
    float: left !important;
}

/* Additional styling for the login form */
#sesam2 #authenticationContainer #authenticationSection #loginContainer .register-button {
    margin-top: 14px;
    width: 100%;
}

#sesam2 .facelift .container {
    display: flex;
    justify-content: center;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

#sesam2 .facelift > .container {
    padding-bottom: 50px;
}

#sesam2 .button-container .btn-default {
    float: left !important;
}

@media (min-width: 741px) {
    #sesam2 .button-container .btn-default {
        float: right !important;
    }
}

/* Override existing mobile styles to match PayLife originals */
@media (max-width: 740px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    #sesam2 #authenticationContainer #headerContainer {
        margin-left: 0;
        margin-top: 10px;
        margin-bottom: 30px;
        text-align: center;
    }

    #sesam2 #authenticationContainer #authenticationSection #registerContainer {
        margin: 30px 0;
    }

    #sesam2 .form-signin-heading {
        text-align: center;
    }

    .input-group {
        margin-bottom: 0;
    }

    #sesam2 input[type="text"],
    #sesam2 input[type="password"] {
        margin-bottom: 5px;
    }

    #sesam2 #customerNumberForgotten,
    #sesam2 #passwordForgotten {
        margin-top: 5px;
        margin-bottom: 15px;
    }

    #sesam2 .register-button {
        margin-top: 10px;
    }
}

/* Override register container specifically */
#sesam2 #authenticationContainer #authenticationSection #registerContainer p {
    padding-right: 50px;
    margin-bottom: 10px;
}

@media (min-width: 741px) {
    #sesam2 #authenticationContainer #authenticationSection #registerContainer {
        margin: 60px 2px !important;
    }
}

/* Fix the Eye icon for password */
#sesam2 .input-group .input-group-text {
    cursor: pointer !important;
    line-height: 40px !important;
    height: 40px;
    background: none;
}

#sesam2 .input-group .input-group-text .bi {
    color: #B3B3B3 !important;
}

/* Button styling */
.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#sesam2 .btn {
    padding-left: 15px;
    padding-right: 15px;
    font-weight: bold;
    font-size: 14px;
    line-height: 14px;
    border-color: #000066;
    color: #000066;
    background-color: #fff;
}
