/* Mobile Responsive Styles */
@media (max-width: 768px) {
    
    /* Header */
    .header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .header-container {
        padding: 0 20px;
        height: 60px;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .header-right {
        gap: 20px;
    }
    
    .header-nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .search-btn {
        width: 24px;
        height: 24px;
    }
    
    .desktop-footer {
        display: none;
    }
    
    .mobile-footer {
        display: block;
    }
    
    /* Container */
    .container {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        min-height: auto;
        gap: 0;
    }
    
    /* Header */
    .header-top {
        display: none;
    }
    
    .header-bottom {
        min-height: 60px;
        padding: 3px 15px;
    }
    
    .logo {
        height: 35px;
    }
    
    .logo-container {
        margin-left: 20px;
    }
    
    /* Login Section */
    .login-section {
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px 15px !important;
        margin-left: 0 !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .image-section {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 100%;
        flex: none;
    }
    
    .image-section-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px 10px;
        width: 100%;
    }
    
    .image-card {
        background-color: #ffffff;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .side-image {
        max-width: 100%;
        height: auto;
        max-height: 300px;
    }
    
    .image-title {
        font-size: 16px;
        margin: 0;
    }
    
    .image-description {
        font-size: 13px;
        margin: 0;
        line-height: 1.5;
    }
    
    .image-link {
        font-size: 13px;
    }
    
    .login-box {
        padding: 25px 20px;
        border-radius: 4px;
    }
    
    .login-box h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .welcome-text {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .login-tabs {
        display: none !important;
        margin-bottom: 20px !important;
    }
    
    .tab-button {
        font-size: 12px;
        padding: 10px 0;
        margin-right: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-input-large {
        padding: 12px 12px;
        font-size: 14px;
        border: none;
        border-bottom: 1px solid #7a8f94;
    }
    
    .form-input-large:focus {
        outline: none;
        border-bottom-color: #002e3c;
    }
    
    .input-label {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .button-group {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 12px;
    }
    
    .btn-next,
    .btn-login-large {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .back-link {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .footer-link {
        font-size: 12px;
        display: block;
        margin-bottom: 10px;
        text-align: right;
    }
    
    .login-footer {
        margin-top: 30px;
        gap: 20px;
    }
    
    /* Info Section */
    .info-section {
        display: none;
    }
    
    .info-section-bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e0e0e0;
    }
    
    .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: 14px;
        font-weight: 600;
        margin: 0 0 8px 0;
        line-height: 1.4;
    }
    
    .info-text {
        color: #666666;
        font-size: 12px;
        margin: 0 0 10px 0;
        line-height: 1.5;
    }
    
    .info-link {
        display: block;
        color: #0a3478;
        text-decoration: underline;
        font-size: 12px;
        margin-bottom: 8px;
        transition: opacity 0.3s ease;
    }
    
    .info-link:hover {
        opacity: 0.8;
    }
    
    .footer-section {
        width: calc(100% + 30px);
        background-color: #FFD700;
        margin-top: 20px;
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: -15px;
        padding: 20px 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-section .footer-links {
        flex-wrap: wrap;
        gap: 15px;
        display: flex;
    }
    
    .footer-section .footer-link-item {
        color: #003366;
        font-size: 13px;
    }
    
    .footer-section .btn-cancel-contract {
        align-self: flex-start;
        margin-top: 5px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .footer-copyright {
        color: #333333;
        font-size: 11px;
        margin: 0;
        line-height: 1.5;
    }
    
    .info-box {
        padding: 20px 15px;
    }
    
    .info-box h2 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .info-box li {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .info-box p {
        font-size: 13px;
        margin: 8px 0;
    }
    
    /* Footer */
    .footer-top {
        padding: 30px 20px;
    }
    
    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .separator {
        display: none;
    }
    
    .language-selector {
        order: 1;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .flag-icon {
        width: 28px;
        height: 28px;
    }
    
    .footer-middle {
        padding: 15px 20px;
    }
    
    .footer-text {
        font-size: 11px;
        line-height: 1.5;
    }
    
    .footer-bottom {
        padding: 20px 15px;
    }
    
    .footer-bottom-text {
        font-size: 14px;
    }
    
    main {
        padding: 0;
    }
}

@media (max-width: 480px) {
    
    /* Header */
    .header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .header-container {
        padding: 0 15px;
        height: 55px;
    }
    
    .header-logo {
        height: 30px;
    }
    
    .header-right {
        gap: 12px;
    }
    
    .header-nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .search-btn {
        width: 20px;
        height: 20px;
    }
    
    .desktop-footer {
        display: none;
    }
    
    .mobile-footer {
        display: block;
    }
    
    /* Container */
    .container {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        min-height: auto;
        gap: 0;
    }
    
    /* Header */
    .header-top {
        display: none;
    }
    
    .header-bottom {
        min-height: 55px;
        padding: 2px 10px;
    }
    
    .logo {
        height: 30px;
    }
    
    .logo-container {
        margin-left: 10px;
        gap: 8px;
    }
    
    .bank-name {
        font-size: 13px;
    }
    
    /* Login Section */
    .login-section {
        padding: 15px 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .image-section {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 100%;
        flex: none;
    }
    
    .image-section-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 10px;
        width: 100%;
    }
    
    .image-card {
        background-color: #ffffff;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .side-image {
        max-width: 100%;
        height: auto;
        max-height: 250px;
    }
    
    .image-title {
        font-size: 14px;
        margin: 0;
    }
    
    .image-description {
        font-size: 12px;
        margin: 0;
        line-height: 1.5;
    }
    
    .image-link {
        font-size: 12px;
    }
    
    .login-box {
        padding: 20px 15px;
        border-radius: 4px;
    }
    
    .login-box h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .welcome-text {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .login-tabs {
        display: none !important;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-input-large {
        padding: 10px 10px;
        font-size: 13px;
        border: none;
        border-bottom: 1px solid #7a8f94;
    }
    
    .input-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .button-group {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 10px;
    }
    
    .btn-next,
    .btn-login-large {
        width: 100%;
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .back-link {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .footer-link {
        font-size: 11px;
        display: block;
        margin-bottom: 8px;
        text-align: right;
    }
    
    .login-footer {
        margin-top: 25px;
        gap: 15px;
    }
    
    /* Info Section */
    .info-section {
        display: none;
    }
    
    .info-section-bottom {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e0e0e0;
    }
    
    .info-item {
        display: flex;
        gap: 12px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    .info-content {
        flex: 1;
    }
    
    .info-title {
        color: #333333;
        font-size: 13px;
        font-weight: 600;
        margin: 0 0 6px 0;
        line-height: 1.4;
    }
    
    .info-text {
        color: #666666;
        font-size: 11px;
        margin: 0 0 8px 0;
        line-height: 1.4;
    }
    
    .info-link {
        display: block;
        color: #0a3478;
        text-decoration: underline;
        font-size: 11px;
        margin-bottom: 6px;
        transition: opacity 0.3s ease;
    }
    
    .info-link:hover {
        opacity: 0.8;
    }
    
    .footer-section {
        width: calc(100% + 20px);
        background-color: #FFD700;
        margin-top: 15px;
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: -10px;
        padding: 15px 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-section .footer-links {
        flex-wrap: wrap;
        gap: 12px;
        display: flex;
    }
    
    .footer-section .footer-link-item {
        color: #003366;
        font-size: 12px;
    }
    
    .footer-section .btn-cancel-contract {
        align-self: flex-start;
        margin-top: 5px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .footer-copyright {
        color: #333333;
        font-size: 10px;
        margin: 0;
        line-height: 1.4;
    }
    
    .info-box {
        padding: 15px 12px;
    }
    
    .info-box h2 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .info-box li {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    /* Footer */
    .footer-top {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
    
    .language-selector {
        order: 1;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
        font-size: 13px;
    }
    
    .flag-icon {
        width: 24px;
        height: 24px;
    }
    
    .footer-middle {
        padding: 12px 15px;
    }
    
    .footer-text {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .footer-bottom {
        padding: 15px 10px;
    }
    
    .footer-bottom-text {
        font-size: 12px;
    }
    
    main {
        padding: 0;
    }
    
    .modal-box {
        max-width: 90%;
        padding: 25px 15px;
    }
    
    .modal-message {
        font-size: 14px;
    }
}
