 .tracking-container {
     max-width: 800px;
     margin: 0 auto;
     padding: 20px;
     font-family: Arial, sans-serif;
 }

 .tracking-form {
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
     margin-bottom: 20px;
 }

 .form-group {
     flex: 1;
 }

 #rastrear {
     border-radius: 8px;
 }

 .form-group label {
     display: block;
     margin-bottom: 5px;
     font-weight: bold;
}

 .form-group input,
 .form-group select {
     width: 100%;
     padding: 8px;
     border: 1px solid #ccc;
     border-radius: 8px;
 }

 .btn-primary {
     padding: 10px 20px;
     background-color: #007bff;
     color: white;
     border: none;
     border-radius: 8px;
     cursor: pointer;
 }

 .btn-primary:hover {
     background-color: #0056b3;
 }

 .error {
     color: red;
 }

 .warning {
    background-color: rgb(177, 151, 4);
    color: #fff;
    width: 100%;
    height: auto;
    border-radius: 5px;
    padding: 15px;
 }

 .tracking-error {
     color: red;
     margin: 10px 0;
 }

 .tracking-details {
     margin-top: 20px;
 }

 .tracking-info {
     margin-bottom: 20px;
 }

 .timeline {
     position: relative;
     padding: 20px 0;
 }

 .timeline-item {
     position: relative;
     padding-left: 60px;
     margin-bottom: 20px;
 }

 .timeline-item.active .timeline-icon {
     background-color: #28a745;
 }

 .timeline-icon {
     position: absolute;
     left: 0;
     top: 0;
     width: 40px;
     height: 40px;
     background-color: #007bff;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 20px;
 }

 .timeline-item:not(:last-child)::before {
     content: '';
     position: absolute;
     left: 20px;
     top: 40px;
     bottom: -20px;
     width: 2px;
     background-color: #ccc;
 }

 .timeline-content {
     background-color: #f9f9f9;
     padding: 15px;
     border-radius: 4px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 .timeline-date {
     font-weight: bold;
     color: #333;
 }

 .timeline-status {
     font-size: 1.2em;
     color: #007bff;
     margin: 5px 0;
 }

 .timeline-message {
     color: #666;
 }

 .timeline-location {
     font-style: italic;
     color: #888;
 }

 .timeline-details {
     display: block;
     margin-top: 10px;
     color: #007bff;
     text-decoration: none;
 }

 .timeline-details:hover {
     text-decoration: underline;
 }

 .content-button {
     display: flex;
     flex-direction: column;
     justify-content: flex-end;
 }

 .content-button>button {
     background-color: #213777;
     color: #fff;
 }

 .content-button>button:hover {
     background-color: #6E9BD0;
     color: #fff;
 }

 @media (max-width: 600px) {
     .tracking-form {
         flex-direction: column;
     }

     .timeline-item {
         padding-left: 50px;
     }

     .timeline-icon {
         width: 30px;
         height: 30px;
         font-size: 16px;
     }

     .form-group {
         flex: 0;
     }
 }