/*
 * Name:        mm_refer.css
 * Author:      George Lomas
 * Date:        29-08-2025
 * Purpose:     Styles for MileageMonster refer 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');

.body-bg {
  background-color: #222 !important;
  margin: 0px !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: #cc66ff;
}

.container {
  flex: 1;
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
}

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

.top-banner-text {
  color: #cc66ff;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: bold;
  padding-right: 20px;
}

.top-banner-icon {
  color: #cc66ff;
  padding-right: 4px;
}

.logo {
  height: 80%;
}

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

.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 #444;
}

.content {
  display: flex;
  flex-direction: row;
  width: 90%;
  justify-content: space-around;
  align-items: center;
}

.fa-dollar-sign {
  color: #00df04;
}

.fa-wallet {
  color: #cc66ff;
  margin-right: 10px;
}

.promo-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 1;
  max-width: 80%;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.commission-details {
  font-size: 16px;
  font-weight: 500;
  color: #C9C9C9;
}

.referral-box {
  display: flex;
  flex-shrink: 1;
  max-width: 400px;
  width: 90%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: center;
}

.referral-box-half-second {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.referral-title {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.referral-text {
  color: #C9C9C9;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
}

.referral-input {
  width: 80%;
  padding: 10px;
  background-color: #222;
  color: #fff;
  border: 2px solid #C9C9C9;
  border-radius: 10px;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  outline: none;
}

.referral-input:focus {
  border-color: #cc66ff;
  box-shadow: 0 0 6px rgba(204,102,255,0.6);
}

.referral-button {
  width: 40%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background-color: #cc66ff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

.referral-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.referral-status {
  font-family: "Inter", sans-serif;
  color: #C9C9C9;
  font-size: 14px;
  margin-top: 12px;
  max-width: 60%;
}

.footer {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  padding-bottom: 0px;
  background: var(--color-four);
  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: 0 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-con-link {
  width: 100%;
  height: fit-content;
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-bottom: 30px;
}

.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);
}

.f-para {
  width: 80%;
  font-family: "Inter", sans-serif;
  color: var(--text-two);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 24px;
  margin-bottom: 30px;
}

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

.footer .contact-form {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--text-two);
  background: var(--color-three);
  border-radius: 10px;
  padding: 20px;
}

.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;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  border: 1px solid var(--text-two);
  margin-bottom: 10px;
  background: var(--color-four);
  color: var(--text-one);
}

.contact-form button {
  width: 100%;
  background: var(--text-one);
  color: var(--color-three);
  font-size: 18px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 10px;
  margin-top: 10px;
  transition: 0.2s;
}

.contact-form button:hover {
  background: var(--color-one);
}


@media (max-width: 1600px) {
  .referral-box {
    max-width: 800px;
    flex-direction: row;
  }

  .referral-text {
    max-width: 400px;
  }
}

@media (max-width: 750px) {
  .logo {
    height: 60% !important;
  }

  .screen {
    overflow: visible;
  }
}