* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  padding: 20px;
  
  /* position: relative; */
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
  position: relative;
}

/* HEADER */
.header {
  background: linear-gradient(135deg, #87ceeb 0%, #add8e6 100%);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #4682b4;
  box-shadow: 2px 2px 4px #4682b4 inset;
}

.header-left {
  flex: 1;
}

.header-title {
  font-size: 24px;
  font-weight: bold;
  color: #003366;
}

.italic {
  font-style: italic;
  font-weight: normal;
}

.header-right {
  text-align: right;
}

.store-name {
  font-size: 20px;
  font-weight: bold;
  color: #003366;
}

/* MAIN CONTENT */
.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  background-color: #f9f9f9;
}
main,
footer {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.left-section,
.right-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: scroll;
  height: 500px;
}

.left-section h2,
.right-section h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
  -moz-text-decoration-line: underline;
  text-decoration-line: underline;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 15px;
  align-items: center;
}
.form-group:hover,
.form-group:focus {
  background-color: #f0f1ff;
}

.form-group label {
  font-size: 14px;
  color: #555;
  text-align: left;
}

.caisseMaitre {
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-group input {
  padding: 8px 10px;
  border: 1px solid #999;
  border-radius: 3px;
  font-size: 14px;
  text-align: right;
  background-color: white;
}

.form-group input:focus {
  outline: none;
  border-color: #4682b4;
  box-shadow: 0 0 5px rgba(70, 130, 180, 0.3);
  background-color: #f0f1ff;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}

.highlight-input {
  background-color: #4169e1 !important;
  color: white !important;
  font-weight: bold;
}

/* FOOTER */
.footer {
  background-color: #e8e8e8;
  /* margin-top: 10px; */
  padding: 20px 40px;
  border-top: 1px solid #ccc;
  text-align: center;
  /* box-shadow: 2px -2px 4px #4682b4 inset; */
}

.footer-note {
  font-size: 12px;
  color: #666;
  margin-bottom: 15px;
  font-style: italic;
}

.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  font-size: 14px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

.btn-primary {
  background-color: #c0c0c0;
  color: #333;
  border: 1px solid #999;
}

.btn-primary:hover {
  background-color: #a9a9a9;
}

/* RESPONSIVE - LARGE SCREENS (1200px+) */
@media (min-width: 1200px) {
  body {
    padding: 30px;
  }

  .container {
    max-width: 1400px;
  }

  .content {
    gap: 50px;
    padding: 50px;
  }

  .form-group {
    grid-template-columns: 1fr 120px;
  }
}

/* RESPONSIVE - MEDIUM SCREENS (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  body {
    padding: 15px;
  }

  .container {
    max-width: 100%;
  }

  .header {
    padding: 15px;
  }

  .header-title {
    font-size: 20px;
  }

  .store-name {
    font-size: 16px;
  }

  .content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
  }

  .left-section h2,
  .right-section h2 {
    font-size: 16px;
  }

  .form-group {
    grid-template-columns: 1fr 100px;
    gap: 12px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input {
    padding: 7px 8px;
    font-size: 13px;
  }

  .footer {
    padding: 15px 30px;
  }

  .footer-note {
    font-size: 11px;
  }

  .buttons {
    gap: 10px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}

/* RESPONSIVE - SMALL TABLETS (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
  body {
    padding: 10px;
  }

  .container {
    max-width: 100%;
    min-height: auto;
  }

  .header {
    padding: 12px;
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }

  .header-left {
    flex: 1;
  }

  .header-title {
    font-size: 16px;
  }

  .store-name {
    font-size: 14px;
  }

  .content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }

  .left-section,
  .right-section {
    gap: 12px;
  }

  .left-section h2,
  .right-section h2 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .form-group {
    grid-template-columns: 1fr 80px;
    gap: 10px;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input {
    padding: 6px 8px;
    font-size: 12px;
  }

  .footer {
    padding: 12px 20px;
  }

  .footer-note {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 15px;
    font-size: 12px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}
}

/* RESPONSIVE - MOBILE (360px - 599px) */
@media (max-width: 599px) {
  body {
    padding: 8px;
  }

  .container {
    max-width: 100%;
    min-height: auto;
    grid-template-rows: auto 1fr auto;
  }

  .header {
    padding: 8px;
    flex-direction: row;
    text-align: left;
    gap: 10px;
    border-bottom: 1px solid #4682b4;
    justify-content: space-between;
  }

  .header-left {
    flex: 1;
  }

  .header-title {
    font-size: 13px;
    word-wrap: break-word;
  }

  .header-right {
    text-align: right;
    flex: 0 0 auto;
  }

  .store-name {
    font-size: 11px;
  }

  .content {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background-color: #f9f9f9;
  }

  .left-section,
  .right-section {
    gap: 8px;
  }

  .left-section h2,
  .right-section h2 {
    font-size: 11px;
    margin-bottom: 3px;
    color: #333;
  }

  .form-group {
    display: grid;
    grid-template-columns: 1fr 60px;
    gap: 5px;
    align-items: center;
  }

  .form-group label {
    font-size: 10px;
    color: #555;
    word-wrap: break-word;
    line-height: 1.2;
  }

  .form-group input {
    padding: 5px 6px;
    font-size: 11px;
    width: 100%;
  }

  .footer {
    padding: 8px 10px;
    background-color: #e8e8e8;
  }

  .footer-note {
    font-size: 8px;
    margin-bottom: 8px;
    text-align: center;
  }

  .buttons {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .btn {
    flex: 1;
    min-width: 50px;
    padding: 6px 8px;
    font-size: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}
}

/* RESPONSIVE - VERY SMALL MOBILE (320px - 359px) */
@media (max-width: 359px) {
  body {
    padding: 5px;
  }

  .container {
    max-width: 100%;
    box-shadow: none;
  }

  .header {
    padding: 6px;
    gap: 5px;
    flex-direction: row;
  }

  .header-left {
    flex: 1;
  }

  .header-title {
    font-size: 11px;
    line-height: 1.1;
  }

  .header-right {
    flex: 0 0 auto;
  }

  .store-name {
    font-size: 10px;
  }

  .content {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
  }

  .left-section h2,
  .right-section h2 {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .form-group {
    grid-template-columns: 1fr 50px;
    gap: 3px;
  }

  .form-group label {
    font-size: 9px;
    line-height: 1.1;
  }

  .form-group input {
    padding: 4px 5px;
    font-size: 10px;
  }

  .footer {
    padding: 6px 8px;
  }

  .footer-note {
    font-size: 7px;
    margin-bottom: 6px;
  }

  .buttons {
    gap: 4px;
  }

  .btn {
    padding: 5px 6px;
    font-size: 9px;
    min-width: 40px;
  }
}
.contact {
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.conContainer {
  margin: 10px;
  padding: 10px;
  width: 100%;
  height: 50px;
  position: relative;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border: 3px solid transparent;
  background-clip: padding-box;
  animation: gradientBorder 3s linear infinite;
}

.conContainer::before,
.conContainer::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 10px;
  padding: 3px;
  background: linear-gradient(45deg, transparent, #281eac, #87ceeb, #281eac, transparent);
  background-size: 300% 300%;
  animation: gradientRotate 3s linear infinite;
  z-index: -1;
}
.conContainer::after {
  filter: blur(5px);
  opacity: 0.6;
}
.conContainer .name {
  border-radius: 10px;
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Fleur De Leah", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5em;
}
.conContainer .email{
  font-size: 10px;
} 
.media-icons{
  overflow: scroll;
}

@keyframes gradientRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 
<div class="contact position-absolute top-100 start-50 translate-middle">
      <div class="conContainer h-25">
        
        <p class="text-center name">Bettaibi Chokri</p>
        <!-- <h6 class="text-center fs-6">Contacter :</h6> -->
        <div class="media-icons">
          <ul class="d-flex justify-content-center gap-4 list-unstyled">
            <li class="d-flex"><a href=""><i class="bi bi-facebook text-primarry"></i></a></li>
            <li class="d-flex " ><a href=""><i class="bi bi-whatsapp text-success"></i></a></li>
            <li class="d-flex"><a href=""><i class="bi bi-github text-dark"></i></a></li>
          </ul>
          <classPs="text-center" class="email text-center">
            <!-- <p>Email: bettaibichokri001@gmail.com</p> -->
            <!-- <p><i class="bi bi-telephone-fill"></i>: +216 98 104 699</p> -->
        </div>
      </div>
    </div>
*/
.blue-border{
  background-color: #9999991b !important;
}
