* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #07121d;
    background-image: none;
}

.header {
    display: flex;
    flex-direction: column;
}

.header-top {
    background-color: #005aaa;
    height: 50px;
    width: 100%;
}

.header-bottom {
    background-color: #ffffff;
    min-height: 130px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 45px;
    gap: 15px;
}

.logo {
    height: 35px;
    width: auto;
    max-width: 200px;
}

.bank-name {
    color: #005aaa;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

main {
    padding: 5px 20px;
    background-color: transparent;
}

/* Login Page */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: transparent;
    gap: 0;
}

.header-logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.header-logo {
    height: 50px;
    width: auto;
}

.header-bar {
    width: 100%;
    background-color: #123250;
    display: flex;
    flex-direction: column;
}

.header-bar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    border-bottom: 1px solid #344e68;
    font-size: 12px;
}

.header-bar-buttons {
    display: flex;
    gap: 10px;
}

.header-btn {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background-color: #ffffff;
    color: #123250;
}

.header-bar-links {
    display: flex;
    gap: 20px;
}

.header-bar-image {
    height: 24px;
    width: auto;
}

.header-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.header-link:hover {
    opacity: 0.8;
}

.header-bar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    gap: 40px;
    min-height: 95px;
}

.header-bar-logo {
    height: 100px;
    width: auto;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 25px;
    flex: 1;
}

.header-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.header-nav-link:hover {
    opacity: 0.8;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    display: block;
}
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.login-container {
    display: flex;
    flex: 0 0 auto;
    gap: 75px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 400px;
}

.login-section {
    width: 100%;
    padding: 25px 20px;
    margin-left: 80px;
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-section {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 20px;
    padding-right: 300px;
    flex: 0 0 auto;
    width: auto !important;
    max-width: 700px !important;
    margin-left: 150px;
}

.image-card {
    background-color: #ffffff;
    border-radius: 0;
    padding: 25px;
    box-shadow: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
}

.side-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 350px;
}

.image-subtitle {
    color: #666666;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    margin-bottom: 5px;
}

.image-description {
    color: #666666;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.welcome-link {
    color: #0a3478;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.welcome-link:hover {
    opacity: 0.8;
}

.image-section-mobile {
    display: none;
}


/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.modal-message {
    color: #d32f2f;
    font-size: 16px;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.login-box {
    background-color: #07121d;
    padding: 40px;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 850px;
}

h1#loginTitle {
    color: #e6eaee;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    margin-top: 0;
    text-align: center;
    padding: 0 40px;
}

#usernameInput {
    width: 700px;
    padding: 25px 20px;
    border: 1px solid #7a8b9a;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background-color: #0e2941;
    color: #e6eaed;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#nextButton {
    background-color: #9be1c8;
    color: #333333;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 20px auto;
}

.links-section {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.link {
    color: #7a8b9a;
    text-decoration: underline;
    font-size: 14px;
    margin: 0 10px;
}

.separator {
    color: #7a8b9a;
    margin: 0 10px;
}

.info-box {
    margin-bottom: 30px;
    padding: 20px 0;
    text-align: left;
}

.info-text {
    color: #a0aab8;
    font-size: 14px;
    margin: 0;
}

.info-banner {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #3a4a5a;
    width: 50%;
}

.row-banner {
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
}

.col-banner {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
}

.info-content {
    text-align: center;
    margin-top: 60px;
    color: #7a8b9a;
}

.info-content h2 {
    color: #7a8b9a;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
}

.info-content p {
    color: #7a8b9a;
    font-size: 16px;
    margin: 10px 0;
}

.page-image {
    text-align: center;
    margin-top: 40px;
}

.page-image img {
    max-width: 100%;
    height: auto;
}

.page-image-mobile {
    display: none;
    text-align: center;
    margin-top: 40px;
}

.page-image-mobile img {
    max-width: 100%;
    height: auto;
}

#step2 {
    margin-top: 30px;
}

.password-container {
    position: relative;
    width: 700px;
    margin: 0 auto;
}

.password-input {
    width: 100%;
    padding: 25px 60px 25px 20px;
    border: 1px solid #7a8b9a;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background-color: #0e2941;
    color: #e6eaed;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7a8b9a;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.additional-info {
    color: #7a8b9a;
    font-size: 14px;
    margin-top: 20px;
    text-align: left;
    width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.info-icon {
    margin-left: 5px;
}

.page2-image {
    text-align: center;
    margin-top: 40px;
}

.page2-image img {
    max-width: 100%;
    height: auto;
}

.login-button {
    background-color: #9be1c8;
    color: #333333;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
}

.info-left {
    color: #8aa4ad;
    font-size: 14px;
}

.info-right {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.welcome-text {
    color: #000000;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 0;
    margin-right: 20px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #002d67;
    border-bottom-color: #002d67;
    font-weight: 500;
}

.tab-button:hover {
    color: #002d67;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    max-width: 700px;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 18px 15px;
    border: 1px solid #000000;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #002d67;
    box-shadow: 0 0 4px rgba(0, 45, 103, 0.2);
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-icon {
    width: 20px;
    height: 20px;
    color: #666;
    transition: color 0.3s ease;
}

.password-toggle:hover .eye-icon {
    color: #002d67;
}

.forgot-pin {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-pin a {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.forgot-pin a:hover {
    color: #002d67;
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.btn {
    padding: 10px 38px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 165px;
}

.btn-cancel {
    background-color: #ffffff;
    color: #002d67;
    border: 2px solid #002d67;
    font-weight: 400;
}

.btn-cancel:hover {
    background-color: #f0f0f0;
}

.btn-login {
    background-color: #0066cc;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
}

.btn-login:hover {
    background-color: #002d67;
}

.btn-login:active {
    transform: scale(0.98);
}

/* Info Section */
.info-section {
    width: 100%;
    max-width: 620px;
    padding: 25px 20px;
    margin-left: 40px;
    background-color: #f5f5f5;
}

.info-box {
    padding: 30px 50px 30px 30px;
    border-radius: 8px;
    box-shadow: none;
}

.info-box h2 {
    color: #000000;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-box ul {
    list-style: disc;
    margin-left: 20px;
}

.info-box li {
    color: #333333;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-box strong {
    color: #333333;
    font-weight: 600;
}

.info-box p {
    color: #333333;
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.6;
}

.info-link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #002d67;
    text-decoration: underline;
}

/* Loading Message */
.loading-message {
    display: none;
    margin-top: 25px;
    padding: 20px;
    background-color: #f0f4f8;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
    text-align: center;
}

.loading-message.active {
    display: block;
}

.loading-message p {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}


/* Footer */
footer {
    background-color: #002d67;
    color: #ffffff;
    margin-top: 40px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
    background-color: #005aaa;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.flag {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    line-height: 1;
    clip-path: circle(50%);
}

.flag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.language-selector a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.language-selector a:hover {
    opacity: 0.8;
}

.dropdown {
    font-size: 10px;
    margin-left: 5px;
}

.footer-middle {
    padding: 20px 40px;
    background-color: #ffffff;
}

.footer-text {
    color: #333333;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    padding: 30px 40px;
    background-color: #005aaa;
    text-align: center;
}

.footer-bottom-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}


/* New Login Styles */
.login-header {
    margin-bottom: 5px;
    text-align: left;
}

.login-logo {
    height: 30px;
    width: auto;
}

.login-subtitle {
    color: #333333;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.login-step {
    display: none;
}

.login-step.active {
    display: block;
}

.input-label {
    display: block;
    color: #CC0000;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}

.form-input-large {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #003366;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background-color: #0e2941;
    color: #e6eaed;
    max-width: 700px;
}

.form-input-large::placeholder {
    font-size: 10px;
    color: #999999;
}

.form-input-large:focus {
    outline: none;
    border-color: #003366;
}

.password-group-large {
    position: relative;
}

.password-toggle-large {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-large .eye-icon {
    width: 24px;
    height: 24px;
    color: #003366;
    transition: color 0.3s ease;
}

.password-toggle-large:hover .eye-icon {
    color: #005aaa;
}

.login-footer {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.footer-link {
    color: #0a3478;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.button-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.back-link {
    color: #0a3478;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid #0a3478;
    padding-bottom: 2px;
}

.back-link:hover {
    opacity: 0.8;
}

.btn-next {
    background-color: #9be1c8;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-end;
}

.btn-next:hover {
    background-color: #001f47;
}

.btn-login-large {
    background-color: #0550d1;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-end;
}

.btn-login-large:hover:not(:disabled) {
    background-color: #bbbbbb;
}

.btn-login-large:disabled {
    opacity: 0.6;
}


.image-title {
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}


.image-link {
    color: #0a3478;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.image-link:hover {
    opacity: 0.8;
}


.info-section-bottom {
    margin-top: 0;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-title {
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.info-text {
    color: #666666;
    font-size: 13px;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.info-link {
    display: block;
    color: #0a3478;
    text-decoration: underline;
    font-size: 13px;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
}

.info-link:hover {
    opacity: 0.8;
}


/* Page Footer */
.page-footer {
    background-color: #1e2a78;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-link-item {
    color: #003366;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-link-item:hover {
    opacity: 0.8;
}

.btn-cancel-contract {
    background-color: #0550d1;
    color: #ffffff;
    border: 2px solid #0550d1;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-contract:hover {
    background-color: #ffffff;
    color: #0550d1;
}

.footer-copyright {
    color: #ffffff;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}


.footer-section {
    width: calc(100% + 50px);
    background-color: #1e2a78;
    margin-top: 20px;
    margin-left: -25px;
    margin-right: -25px;
    margin-bottom: -25px;
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-section .footer-links {
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section .footer-link-item {
    color: #ffffff;
    font-size: 14px;
}

.footer-section .btn-cancel-contract {
    align-self: flex-start;
    margin-top: 10px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .container {
        gap: 20px;
    }
    
    .login-section {
        margin-left: 40px !important;
        max-width: 450px !important;
    }
    
    .image-section {
        padding-right: 40px !important;
    }
    
    .image-card {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .image-section {
        padding: 0 !important;
        padding-right: 0 !important;
    }

    /* Header mobile styles */
    .header-bar-top {
        display: none;
    }

    .header-bar-bottom {
        min-height: auto;
        padding: 10px;
        justify-content: flex-start;
    }

    .header-bar-logo {
        height: 40px;
    }

    .header-nav {
        display: none;
    }

    .header-search {
        display: none;
    }

    /* Hamburger menu mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Mobile'da direkt step 2 göster ama ID input'u da göster */
    #usernameInput {
        display: block;
        width: calc(100% - 10px);
        max-width: 100%;
        padding: 20px 15px;
        margin: 0 auto 2px 5px;
        box-sizing: border-box;
    }

    #nextButton {
        display: none;
    }

    .links-section {
        display: none;
    }

    #step2 {
        display: block !important;
    }

    .password-container {
        width: calc(100% - 10px);
        max-width: 100%;
        padding: 0 0;
        margin: 0 auto 0 5px;
        box-sizing: border-box;
    }

    .password-input {
        width: 100%;
        padding: 20px 15px;
        margin: 0;
        box-sizing: border-box;
    }

    .additional-info {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .info-banner {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }

    .row-banner {
        flex-direction: row;
    }

    .col-banner {
        flex-direction: column;
    }

    .page-image {
        display: none;
    }

    .page-image-mobile {
        display: block;
    }
}

/* Large Desktop */
@media (min-width: 1920px) {
    .container {
        gap: 60px;
    }
    
    .login-section {
        margin-left: 120px;
    }
    
    .image-section {
        padding-right: 120px;
    }
}
