/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
    /* Prevent mobile viewport issues */
    -webkit-overflow-scrolling: touch;
}


br {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #EB1000 0%, #d10000 100%);
    border: 2px solid #800900;
    color: white;
    /* box-shadow: 0 4px 15px rgba(235, 16, 0, 0.4); */
    box-shadow: 0 4px 15px rgba(16, 16, 16, 0.2);
    user-select: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 8px 25px rgba(235, 16, 0, 0.6); */
    box-shadow: 0 4px 15px rgba(16, 16, 16, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #1a1a1a;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #EB1000;
    border: 2px solid #EB1000;
}

.btn-outline:hover {
    background: #EB1000;
    color: white;
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(9px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(132deg, #EB1000 0%, #690700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #EB1000;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}



/* Footer */
.footer {
    position: relative;
    background: #1a1a1a;
    color: white;
    padding: 0 0 20px 0;
}



.footer_border_div {
    position: relative;
    top: 0px;
    height: 48px;
    margin: 0 0 32px 0;
  }
  
  .footer_border_div svg {
    position: absolute;
    top: -1px;
    z-index: 100;
    display: block;
    height: 48px;
    width: auto;
  }
  

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-social div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social div svg {
    color: #999;
    transition: color 0.2s ease;
    width: 20px;
    height: 18px;
}

.footer-social div svg:hover {
    color: #EB1000;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(29deg) brightness(170%) contrast(103%);
}

.footer-description {
    color: #999;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #EB1000;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer-bottom .location {
    display: inline-block;
    /* float: right; */
    /* background: red; */
    margin: 0;
    user-select: none;
  }
  
  .footer .footer-bottom .location * {
    display: inline-block;
    color: #888;
    font-size: 12px;
  }

  .footer .footer-bottom .location p {
    position: relative;
    top: -3px;
  }
  
  .footer .footer-bottom .flag {
    width: 14px;
    height: 14px;
    margin-top: 0;
    margin-left: 12px;
    border-radius: 50%;
    object-position: 50% 50%;
    object-fit: cover;
    outline: none;
    user-select: none;
  }



  .hide {
    display: none;
}

.body_container {
  height: auto;
  margin-bottom: 100px;
}


.code-container {
  position: relative;
}

.code-container pre {
  max-height: 250px;
  overflow-y: auto;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 24px;
  cursor: pointer;
  padding: 5px 10px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}


table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }
    th, td {
      border: 1px solid #ddd;
      padding: 8px 16px !important;
      text-align: left;
    }
    thead th:first-child {
      min-width: 200px;
    }
    tbody tr {
      height: 64px !important;
    }
    th {
      background-color: #f2f2f2;
    }


    div.tip {
        margin-top: 16px;
      padding: 16px;
      border: 2px solid #F26522;
      border-radius: 8px;
      background: #fff3e6;
      color: #555;
    }


    
.form {
    position: relative;
    top: 90px;
    height: calc(100% - 90px);
    margin: 0 !important;
    padding: 8px 24px 24px 24px;
  }
  
  .row {
    width: 100%;
    margin: 0 auto !important;
  }
  
  
  .form .row {
    display: grid;
    grid-template-columns: 1fr 6fr;
    height: 100%;
    gap: 2em;
  }
  
  .form .outline {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-right: 1px solid #ccc;
    overflow: hidden;
    overflow-y: auto;
    padding-top: 2px;
    padding-left: 2px;
    padding-right: 8px;
    min-width: 0;
  }
  
  .form .outline ol {
    position: fixed;
    top: 86px;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    text-align: left;
    margin-left: 2px 0 16px 0;
    counter-reset: item;
    list-style: none;
    flex: 1;
  }
  
  .form .outline ol li {
    position: relative;
    margin: 2px 0 4px 0;
    padding: 2px 8px 2px 16px;
    cursor: pointer;
    color: #000;
    counter-increment: item;
    font-weight: normal;
    font-size: 13px;
  }
  
  .form .version {
    color: #999;
    font-size: 12px;
    margin-top: 0;
    padding: 8px 8px 0 8px;
  }
  
  .form .outline ol .section {
    font-size: 15px;
    font-weight: bold;
    margin-top: 2px;
    padding: 16px 8px 2px 8px;
  }
  
  .form .outline ol .active {
    color: #268BD2;
  }
  
  .form .outline .main_list {
    overflow-x: hidden;
  }
  
  
  .form .builder {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    padding-top: 0px;
    min-width: 0;
  }
  
  
  .form .builder .section_head {
    position: relative;
    padding: 0 24px;
    width: 100%;
    margin: 0 auto 24px auto;
    padding: 8px 0;
    background: transparent;
    /* border-bottom: 1px solid #000; */
  }
  
  .form .builder .section_head .section_name {
      display: inline-block;
      margin: 0 auto;
      width: calc(100% - 45px);
      min-width: 100px;
      padding: 8px;
      color: #000;
      font-weight: bold;
      font-size: 24px;
      border: none;
      border-bottom: 1px solid transparent;
      text-overflow:ellipsis;
      background: transparent;
      box-sizing: border-box;
      -webkit-box-sizing:border-box;
      -moz-box-sizing: border-box;
  }
  
  .form .builder .block_container {
    position: relative !important;
    display: block;
    margin: 16px auto;
    padding-bottom: 16px;
    padding-top: 0px;
    width: 100%;
    border-right: 2px solid transparent;
  }
  
  .form .builder .block_container .block {
    cursor: auto;
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 24px 24px 24px 24px;
    width: 93%;
    background-color: transparent;
    border: 2px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 12px -3px #0002;
    -webkit-transition: width 0.5s ease-in-out, height 0.35s ease-in-out;
    -moz-transition:    width 0.5s ease-in-out, height 0.35s ease-in-out;
    -ms-transition:     width 0.5s ease-in-out, height 0.35s ease-in-out;
    -o-transition:      width 0.5s ease-in-out, height 0.35s ease-in-out;
    transition:         width 0.5s ease-in-out, height 0.35s ease-in-out;
  }
  
  .form .builder .active .block {
    width: 97%;
    border: 2px solid #268BD2;
    -webkit-transition: border 0.75s ease-in-out;
    -moz-transition:    border 0.75s ease-in-out;
    -ms-transition:     border 0.75s ease-in-out;
    -o-transition:      border 0.75s ease-in-out;
    transition:         width 0.15s ease-in-out, border 0.75s ease-in-out;
  }
  
  .form .builder .active .block p {
    font-size: 15px;
  }
  
  .form .builder .block h3 {
    margin-bottom: 24px;
  }
  
  .form .builder .block p img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
  }
  
  .form .builder .block p .send_btn {
    position: relative;
    top: 0px;
    background-color: #111;
    color: #fff;
    border-radius: 4px;
    padding: 8px 24px;
    margin: 0 0 0 8px;
    cursor: pointer;
    user-select: none;
  }
  
  .form .builder .block p .okay_btn {
    padding: 7px 16px 7px 40px;
    margin: 0px 4px;
    /* height: 32px; */
    line-height: 23px;
    background: #000 url("../../assets/valid_light.png");
    background-size: 28px;
    background-repeat: no-repeat;
    background-position: 8px 45%;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    user-select: none;
  }
  
  
  
  .form .builder .block p .reject_btn {
    display: inline-block;
    padding: 5px 16px;
    margin: 0 2px;
    position: relative;
    top: 11px;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: darkRed url("../../assets/disliked.png");
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: center 70%;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    user-select: none;
  }
  
  
  .form .builder .block .email_example {
    width: 100%;
    height: auto;
    margin-bottom: 32px;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
  }
  
  .form .builder .block .sms_example {
    width: 50%;
    height: auto;
    margin-bottom: 32px;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
  }
  
 
  
  
  @media (max-width: 950px) {
    .form .row {
      grid-template-columns: 1fr 3fr;
    }
  }
  
  @media (max-width: 450px) {

      .form {
        overflow-y: auto;
      }
  
      .form .row {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
      }
  
      .form .outline {
        height: auto !important;
        overflow: hidden;
        border-right: none;
        border-bottom: 1px solid #ccc;
      }

      .form .outline ol {
        position: relative;
        top: 0;
        padding: 0 0 24px 0;
        overflow: hidden;
      }
  
      .form .builder {
        height: auto !important;
        overflow: hidden;
        margin-top: 0;
        padding: 0 16px;
      }

      .form .builder .section_head {
        padding: 0 8px;
      }
  }
  





  @media (max-width: 1080px) {

    .footer {
        padding: 0 24px 24px 24px !important;
    }

}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer {
        padding: 0 0 20px 0 !important;
    }
}



@media (max-width: 480px) {

   
}
