.custom-tracking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #ffffff;
}

/* Instructions area above the form */
.tracking-instructions {
    background: #f0f8ff;
    border: 1px solid #cce;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}
.tracking-instructions p {
    margin: 0;
}

.custom-tracking-form {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.custom-tracking-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.custom-tracking-form input[type="text"],
.custom-tracking-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.custom-tracking-form button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.custom-tracking-form button:hover {
    background-color: #005d85;
}

/* Tracking section */
.tracking-section {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
}

/* Space between Logo & Title */
.tracking-section h3 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Logo spacing */
.tracking-logo {
    height: 35px;
    margin-right: 10px; /* Increased spacing */
    vertical-align: middle;
}

/* Clickable link icon */
.tracking-link-icon {
    margin-left: 5px;
    font-size: 0.9em;
    color: #0073aa;
}

/* Buttons at the bottom */
.tracking-buttons {
    text-align: center;
    margin-top: 20px;
}
.tracking-buttons a {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.tracking-buttons a:hover {
    background-color: #005d85;
}

/* Timeline */
.timeline {
    border-left: 3px solid #ddd;
    margin-left: 20px;
    padding-left: 20px;
}
.timeline-item {
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #0073aa;
    border-radius: 50%;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .custom-tracking-container {
        padding: 10px;
    }
    .tracking-section h3 {
        font-size: 18px;
    }
    .tracking-logo {
        height: 30px;
    }
}
/* Ensure buttons are on the same line */
.tracking-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between buttons */
    flex-wrap: wrap; /* Prevent stacking unless necessary */
    margin-top: 20px;
}

.tracking-buttons a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    white-space: nowrap; /* Prevents text from breaking */
}

.tracking-buttons a:hover {
    background-color: #005d85;
}

/* Responsive fixes */
@media (max-width: 600px) {
    .tracking-buttons {
        flex-direction: row;
        justify-content: space-between;
    }
    .tracking-buttons a {
        flex: 1;
        text-align: center;
    }
}
