/*
 * Name:        mm_guide.css
 * Author:      George Lomas
 * Date:        08-11-2025
 * Purpose:     Styles for MileageMonster Guide (HMRC Cheatsheet) page
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.body-bg {
  background-color: #222 !important;
  margin: 0 !important;
}

:root {
  --color-one: #cc66ff;
  --color-two: #66ccff;
  --color-three: #222222;
  --color-four: #333333;
  --color-five: #444444;
  --text-one: #ffffff;
  --text-two: #C9C9C9;
}

a {
  text-decoration: none;
  color: var(--color-one);
}

/* --- MAIN STRUCTURE --- */

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-three);
}

.inner-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-three);
}

.screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.screen-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-five);
}

/* --- TOP BANNER --- */

.top-banner {
  display: flex;
  flex-direction: row;
  width: 90%;
  height: 8%;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.top-banner-text {
  color: var(--color-one);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.top-banner-icon {
  color: var(--color-one);
  padding-right: 6px;
  font-size: 18px;
}

.logo {
  height: 80%;
}

/* --- GUIDE SECTION --- */

.guide-header {
  text-align: center;
  padding: 40px 10%;
}

.guide-title {
  color: var(--text-one);
  font-family: "Inter", sans-serif;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}

.guide-title i {
  color: gold;
  margin-right: 10px;
}

.guide-subtitle {
  color: var(--text-two);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.content {
  display: flex;
  flex-direction: row;
  width: 90%;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 20px;
}

.guide-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background-color: var(--color-four);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  width: 100%;
  max-width: 900px;
}

.guide-box-half {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 10px 20px;
}

.guide-subtitle-cta {
  color: var(--text-one);
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.guide-subtitle-cta i {
  color: var(--color-one);
  margin-right: 8px;
}

.guide-text {
  color: var(--text-two);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.guide-box-half-second {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
}

.guide-input {
  width: 100%;
  padding: 12px;
  background-color: var(--color-three);
  color: var(--text-one);
  border: 2px solid var(--text-two);
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  outline: none;
}

.guide-input:focus {
  border-color: var(--color-one);
  box-shadow: 0 0 6px rgba(204,102,255,0.6);
}

.guide-button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background-color: var(--color-one);
  color: var(--text-one);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.guide-button:hover {
  background-color: #d582fe;
}

.guide-status {
  margin-top: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #C9C9C9;
  transition: opacity 0.3s ease, color 0.3s ease;
  opacity: 0;
}

.guide-status.visible {
  opacity: 1;
}


.consent-container {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
  margin-bottom: 30px;
  font-size: 13px;
  color: #bdbdbd;
}

.consent-checkbox {
  margin-right: 8px;
  margin-left: 10px;
  accent-color: #00df04;
  cursor: pointer;
}

.consent-label {
  cursor: pointer;
  line-height: 1.4;
}

.fineprint {
  font-size: 12px;
  color: #a0a0a0;
  margin-top: 8px;
  line-height: 1.5;
}



/* --- FOOTER --- */

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: var(--color-four);
  padding: 20px 0 0 0;
  z-index: 2;
}

.footer-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 30px;
  padding: 20px 5%;
}

.footer-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 300px;
}

.footer-links {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: "Inter", sans-serif;
  color: var(--text-two);
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--color-one);
}

.f-social a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--text-one);
  transition: 0.2s;
}

.f-social a i {
  color: var(--text-one);
}

.f-social a:hover {
  border-color: var(--color-one);
  background: var(--color-one);
  color: var(--text-one);
}

.footer-note {
  width: 100%;
  background: var(--color-three);
  text-align: center;
  color: var(--text-two);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  padding: 15px 5%;
}

.contact-form h3 {
  font-family: "Inter", sans-serif;
  color: var(--text-one);
  font-size: 35px;
  margin-top: 0px !important;
  margin-bottom: 20px;
  font-weight: 800;
}

/* --- RESPONSIVE --- */

@media (max-width: 900px) {
  .guide-box {
    flex-direction: column;
    text-align: center;
  }

  .guide-box-half,
  .guide-box-half-second {
    max-width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .guide-subtitle-cta {
    font-size: 20px;
  }

  .guide-text {
    font-size: 15px;
  }

  .logo {
    height: 60% !important;
  }

  .screen {
    overflow: visible;
  }
}