/* Input field styles */
.tracking-input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 2px solid #ccc;
    border-radius: 50px 0 0 50px;  /* Rounded left side */
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;     /* Smooth transition for focus */
}

/* Input focus state */
.tracking-input:focus {
    border-color: #007bff;  /* Change border color on focus */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);  /* Add a slight glow */
}

/* Button styles with more specificity */
.input-group .btn-primary {
    padding: 18px 20px !important;
    height: 55px !important;
    font-size: 16px !important;
}

/* Button styles */
.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 18px 20px;  /* Adjust vertical and horizontal padding */
    height: 55px;  /* Explicitly set the height */
    border: none;
    border-radius: 0 50px 50px 0;  /* Rounded right side */
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;  /* Center the text vertically */
}

/* Button hover state */
.btn-primary:hover {
    background-color: #0056b3;
}

/* Tracking results container */
#trackingResults {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}







/* Tracking steps formatting */
/* Tracking START formatting */
/* Tracking steps formatting */



/* Tracking steps formatting */
.tracking-steps {
    border-left: 4px solid var(--line-color, #1b75f1); /* Use CSS variable for line color */
    padding-left: 35px;
    position: relative;
}

.tracking-step {
    margin-bottom: 20px;
    position: relative;
    padding-left: 2px;
}

.tracking-step h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.tracking-step p {
    margin: 5px 0;
    font-size: 14px;
    color: #777;
}

.tracking-step span {
    font-size: 12px;
    color: #888;
}

/* Tracking step styling */
.tracking-steps {
    margin-left: 18px; /* Adjust the value as needed */
}


/* Pseudo-element styling */
.tracking-step::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 5px;
    height: 25px;
    width: 25px;
    background-color: var(--circle-color-s, #1b75f1); /* Use the variable for dynamic color */
    border-radius: 50%;
    border: 2px solid white;
}

/* First step with larger checkbox (or symbol) */
.tracking-step:first-child::before {
     /* content: "\2713"; */
	content: var(--circle-Unicode, ""); /* Unicode for check mark */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px; /* Bold check mark */
    font-weight: bold;
    background-color: var(--circle-color-l, #1b75f1); /* Use the variable here as well */
    border-radius: 50%;
    left: -57px;
    top: 0px;
    height: 40px; /* Larger size for the first circle */
    width: 40px;
    border: 2px solid white;
}



/* Tracking steps formatting */
/* Tracking END formatting */
/* Tracking steps formatting */


/* Optional: To ensure no padding at the top when results are shown */
#trackingResults {
    margin-top: 0;
}

.section-padding {
    padding-top: 0; /* Optional: Reduce or remove padding at the top */
}

/* Optional custom spinner styling */
#loading .spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 10px;
}

#loading p {
    font-size: 16px;
    color: #007bff; /* Adjust color as needed */
}

/* Styling for the form */
.tracking-form {
    width: 100%;
    max-width: 500px;  /* Limit the width for better readability */
    margin: 0 auto;    /* Center the form */
    padding: 10px;
}

/* Input group to align the input and button */
.input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Make the form responsive */
@media (max-width: 768px) {
    .tracking-form {
        max-width: 100%;
    }

    .tracking-input, .btn-primary {
        border-radius: 50px;  /* Make both input and button fully rounded on small screens */
        margin-bottom: 10px;
    }

    .input-group {
        flex-direction: column;
    }
}

.gray-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.order-details-table {
    width: 100%;
    text-align: left;
    font-size: 16px;
}

.order-details-table td {
    padding: 10px;
}

.order-details-table strong {
    font-weight: bold;
}

/* Default layout for larger screens */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.header-container .express-info {
  margin-left: 20px;
  text-align: center;
  line-height: 1.5;
}

/* Add space between the heart and text */
.heart-container {
  margin-left: 20px;
}

/* Adjust layout for screens 768px and smaller */
@media (max-width: 768px) {
  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .logo-njjr {
    margin-bottom: 20px;
  }

  .express-info {
    margin-left: 0;
    text-align: center;
    line-height: 1.5;
  }

  /* Shrink the "Balikbayan Box Service..." text */
  .subheading {
    font-size: 16px; /* Adjust this value as needed */
  }

  /* Add space between the heart and text on smaller screens */
  .heart-container {
    margin-top: 20px;
  }

  /* Ensure the heart image is hidden on smaller screens */
  .heart-image {
    display: none !important;
  }
}

    .gray-box {
        background-color: #f7f7f7;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .order-details-table {
        width: 100%;
        margin-bottom: 0;
    }

    .order-details-table td {
        padding: 10px;
        vertical-align: middle;
    }

    .order-details-table td:first-child {
        font-weight: bold;
        width: 30%;
        background-color: #e9ecef;
    }

    .order-details-table td:last-child {
        text-align: left;
        background-color: #fff;
    }

    .btn-view-picture {
        background-color: #6c757d;
        color: white;
        padding: 8px 16px;
        border: none;
        border-radius: 5px;
        font-size: 0.875rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
		
    }
	
.btn-view-picture-right {
    background-color: #6c757d;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right; /* Default behavior for larger screens */
    margin-top: -40px; 
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .btn-view-picture-right {
        /*float: none; /* Disable float */
       /* position: fixed; /* Position the button fixed at the bottom */
        bottom: 80px; /* Distance from the bottom of the viewport */
        left: 50%; /* Align horizontally to the center */
        transform: translateX(0%); /* Center the button */
        width: auto; /* Adjust the button width */
        margin: 0; /* Reset margins */
    }
}

    .btn-view-picture:hover {
        background-color: #5a6268;
    }
	.btn-view-picture-right:hover {
        background-color: #5a6268;
    }
