/* =====================================================
   STYLES.CSS
   Food Delivery Local
   Global Base Styling
===================================================== */


/* =====================================================
   GLOBAL BOX MODEL
===================================================== */

*{
box-sizing:border-box;
}


/* =====================================================
   PAGE BODY
===================================================== */

body{
background:#f5f7f6;
font-family: Arial, Helvetica, sans-serif;
margin:0;
color:#333;
}


/* =====================================================
   HTML / BODY SAFETY
   Prevent horizontal scrolling
===================================================== */

html, body{
width:100%;
overflow-x:hidden;
}


/* =====================================================
   MAIN PAGE WRAPPER
===================================================== */

.page-wrap{
max-width:1100px;
margin:auto;
padding:20px;
background:white;
}


/* =====================================================
   GLOBAL CONTENT WIDTH
===================================================== */

.fdl-container,
.page-wrap,
.section-wrap,
.form-wrap{
max-width:1100px;
margin:0 auto;
padding:0 15px;
box-sizing:border-box;
}


/* =====================================================
   SITE IMAGES
===================================================== */

img{
max-width:100%;
height:auto;
}


/* =====================================================
   SECTION SPACING
===================================================== */

.section{
margin-bottom:25px;
}


/* =====================================================
   HEADINGS
===================================================== */

h1,h2,h3,h4{
margin-top:0;
}


/* =====================================================
   BUTTONS
===================================================== */

button{
background:#0b7dda;
color:white;
border:none;
padding:14px 20px;
border-radius:6px;
font-size:16px;
cursor:pointer;
}

button:hover{
background:#095fa5;
}


/* =====================================================
   PRIMARY SITE BUTTON
===================================================== */

.fdl-btn{
display:inline-block;
padding:12px 18px;
background:#2e7d32;
color:#fff;
border-radius:8px;
text-decoration:none;
font-weight:bold;
}

.fdl-btn:hover{
background:#256628;
}


/* =====================================================
   STATUS MESSAGES
===================================================== */

.success{
color:#1b5e20;
}

.error{
color:#b00020;
}


/* =====================================================
   SOCIAL MEDIA SECTION
===================================================== */

.social-media{
text-align:center;
margin-top:20px;
}

.social-media img{
width:100px;
margin:0 8px;
}


/* =====================================================
   LEGAL PAGES
===================================================== */

.legal-page{
max-width:900px;
margin:auto;
padding:30px 20px;
}

.legal-title{
text-align:center;
color:#2e7d32;
margin-bottom:30px;
}

.legal-section{
background:#ffffff;
border-radius:10px;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
padding:22px;
margin-bottom:18px;
}

.legal-section h3{
text-align:center;
margin-bottom:10px;
}


/* =====================================================
   THANK YOU PAGE VARIABLES
===================================================== */

:root{
brand-color:#2e7d32;
brand-light:#e8f5e9;
page-bg:#f3f4f6;
}


/* =====================================================
   THANK YOU PAGE
===================================================== */

#thankYouPage{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
background:var(--page-bg);
padding:60px 15px;
}

#thankYouCard{
width:100%;
max-width:520px;
padding:40px;
background:#ffffff;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
text-align:center;
font-family: Arial, sans-serif;
opacity:0;
transform:translateY(15px);
animation:fadeInUp 0.6s ease forwards;
}


/* =====================================================
   THANK YOU ANIMATION
===================================================== */

@keyframes fadeInUp{
to{
opacity:1;
transform:translateY(0);
}
}


/* =====================================================
   THANK YOU PAGE CONTENT
===================================================== */

#thankYouCard img{
max-width:170px;
margin-bottom:20px;
}

.success-icon{
font-size:48px;
color:var(--brand-color);
margin-bottom:15px;
}

#thankYouCard h2{
margin-bottom:15px;
color:#222;
}

#thankYouCard p{
color:#555;
line-height:1.6;
margin-bottom:12px;
}


/* =====================================================
   RETURN HOME BUTTON
===================================================== */

.home-button{
display:inline-block;
margin-top:20px;
padding:14px 26px;
background:var(--brand-color);
color:#ffffff !important;
text-decoration:none !important;
border-radius:8px;
font-weight:bold;
transition:background 0.3s ease;
}

.home-button:hover{
opacity:0.9;
}


/* =====================================================
   DISPATCH TOOL
===================================================== */

.dispatch-container{
max-width:700px;
margin:auto;
font-family:Arial, Helvetica, sans-serif;
}

.dispatch-logo{
max-width:600px;
height:auto;
}

.earnings-bar{
background:#2e7d32;
color:white;
padding:12px;
border-radius:8px;
font-size:18px;
margin-bottom:15px;
text-align:center;
}

.block-timer{
background:#000;
color:#fff;
padding:10px;
border-radius:8px;
text-align:center;
font-size:18px;
margin-bottom:10px;
display:none;
}

.order-card{
border:1px solid #ddd;
padding:15px;
margin-bottom:15px;
border-radius:10px;
}

.newOrder{
animation:flash 1s ease-in-out 3;
}

@keyframes flash{
0%{background:#fff;}
50%{background:#c8e6c9;}
100%{background:#fff;}
}


/* =====================================================
   UTILITY
===================================================== */

#result{
text-align:center;
margin-top:10px;
}

.service-check{
color:#2e7d32;
font-weight:bold;
}

/* ===== HIGH CONVERSION SIGNUP ===== */

.fdl-trust-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.fdl-trust-row span {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.fdl-urgency {
  font-size: 13px;
  color: #c62828;
  margin-top: 10px;
  font-weight: bold;
}

.fdl-consent {
  display: block;
  text-align: left;
  font-size: 12px;
  color: #555;
  margin: 10px 0 15px;
}

.fdl-consent input {
  margin-right: 6px;
}

.home-button {
    display: inline-block;
    background-color: #2e7d32;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.home-button:hover {
    background-color: #256628;
    transform: translateY(-1px);
}

.home-button:active {
    transform: translateY(0);
}

/* ===== AGREEMENT SCROLL ===== */

.agreement-scroll {
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 15px;
    background: #fff;
    margin-bottom: 15px;
}

.checkbox-line {
    display: block;
    margin: 15px 0;
}

.agreement-submit {
    display: block;
    margin: 20px auto;
    padding: 12px 25px;
    font-size: 16px;
}

.agreement-tabs {
    text-align: center;
    margin: 20px 0;
}

.agreement-tabs .tab-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
}