
@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: body-font;
    src: url(SEGOEUI.TTF);
}
@font-face {
    font-family:title-font;
    src: url(berlin-regular.TTF);
}

body{
    padding:0px;
    margin :0px;
    font-size: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    word-wrap: break-word;
    overflow-wrap:break-word ;
    /* background: #1E272E; */
    transition: 1s;
    /* background-image:url(../images/loan-bg1.jpg);
    background-size: cover  no-repeat; */
    position:absolute; 
    width: 100%;
    height: 100%;
}

a{
  text-decoration: none;
  color: inherit;
}
* {
  box-sizing: border-box;
}

.product-tracking {
   width: 100%;
  /* height: calc(100% - 84.5px); */
  height : auto;
  padding-top: 100px; 
  padding-bottom: 10px;
  text-align: right;
  /* overflow: hidden; */
}

.product-tracking .container {
     display: flex;
    flex-direction: column;
    height: 100%;
    width: 98%;
    margin: auto;
    text-align: center;
    max-width: 1300px;
    position: relative;
    z-index: 2; /* Ensure it's above the overlay */
    /* background-color: #2894d2; */
    color: #2894d2;
}

.product-tracking .container h1 {
    font-family: title-font;
    font-size: 30px;
    text-align: center;
    margin: 0;
    width: 100%;
    /* padding: 20px 0; */
    
   
}
@keyframes truckSlideToCenter {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  25% {
    transform: translateX(0%);
    opacity: 1;
  }
  50% {
    transform: translateX(100%);
  }
  51% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

.truck-hover-icon {
    margin-top:2%;
  display: inline-block;
  animation: truckSlideToCenter 5s ease-in-out forwards;
  will-change: transform, opacity;

}

.product-tracking .container p {
    font-family: body-font;
    font-size: 16px;
    text-align: center;
    margin: 0;
   
}
.product-tracking .container .tracking-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;

}
.product-tracking .container .tracking-form input{
    padding:10px 20px;
    border: 1px solid #2894d2;
    border-radius: 5px; 
    width: 80%;
    max-width: 400px;
    font-size: 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    color: #2894d2;
}

.product-tracking .container .tracking-form input:focus {
    border-color: #2894d2;
    outline: none;
    box-shadow: 0 0 8px 2px rgba(40, 148, 210, 0.3);
}
.product-tracking .container .tracking-form .track-btn {
    padding: 10px 20px;
    background-color: #2894d2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.product-tracking .container .tracking-form .track-btn:hover {
    background-color: #1a6f9b;
    transform: scale(1.05);
}

.tracking-info {
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  animation: fadeIn 0.5s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tracking-info h4 {
  margin-bottom: 20px;
  font-size: 20px;
}

.tracking-info .section {
  margin-bottom: 20px;
}

.tracking-info h5 {
  margin-bottom: 10px;
  font-size: 17px;
  color: #222;
  text-decoration: underline;
}

.tracking-info .info-pair {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
  border-bottom: 1px dashed #ccc;
  padding: 5px 0;
}

.tracking-info .info-pair span:first-child {
  font-weight: bold;
  color: #333;
  flex: 1;
}

.tracking-info .info-pair span:last-child {
  flex: 2;
  text-align: left;
  padding-left: 10px;
}

.tracking-info.delivered {
  background-color: #28a74620;
  border: 1px solid #008000;
  color: #008000;
}

.tracking-info.in-transit {
  background-color: #ff980025; /* Transparent orange */
  border: 1px solid #ff9800;
  color: #c56d00;
}


.tracking-info.not-found {
  background-color: #dc354520;
  border: 1px solid #dc3545;
  color: #b30000;
}

.tracking-info.field-empty {
  background-color: #dc354520;
  border: 1px solid #dc3545;
  color: #b30000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.hide{
  display: none;
}


/* mobile view */



.tracking-info {
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  animation: fadeIn 0.5s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tracking-info h4 {
  margin-bottom: 20px;
  font-size: 20px;
}

.tracking-info .section {
  margin-bottom: 20px;
}

.tracking-info h5 {
  margin-bottom: 10px;
  font-size: 17px;
  color: #222;
  text-decoration: underline;
}

.tracking-info .info-pair {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
  border-bottom: 1px dashed #ccc;
  padding: 5px 0;
}

.tracking-info .info-pair span:first-child {
  font-weight: bold;
  color: #333;
  flex: 1;
}

.tracking-info .info-pair span:last-child {
  flex: 2;
  text-align: left;
  padding-left: 10px;
}

.tracking-info.delivered {
  background-color: #28a74620;
  border: 1px solid #008000;
  color: #008000;
}

.tracking-info.in-transit {
  background-color: #ff980025; /* Transparent orange */
  border: 1px solid #ff9800;
  color: #c56d00;
}


.tracking-info.not-found {
  background-color: #dc354520;
  border: 1px solid #dc3545;
  color: #b30000;
}

.tracking-info.field-empty {
  background-color: #dc354520;
  border: 1px solid #dc3545;
  color: #b30000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
