/* Estilos Gerais (Cores Originais Restauradas) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

section {
    padding: 30px 20px;
}

.accent-dot {
    color: #FFC107;
}

/* Header */
.header {
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #FFC107;
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav li {
    position: relative;
    margin: 0;
}

.main-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #FFC107;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FFC107;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Tracking Section */
.tracking-section {
    max-width: 800px;
    margin: 40px auto;
    padding: clamp(1rem, 5vw, 2rem);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tracking-section h1 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.tracking-form p {
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
    color: #555;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.input-group input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 150px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

#captcha-gerado {
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 4px;
    user-select: none;
    font-family: 'Courier New', Courier, monospace;
    text-decoration: line-through;
    color: #495057;
}

#btn-recarregar-captcha {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 1.2rem;
}

.search-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background-color: #FFC107;
    color: #000000;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #FFD740;
}

.search-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
    min-height: 1.2rem;
}

/* Status Timeline */
.status-timeline {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: calc(2rem + 25px); /* Centralizado com o círculo de 50px */
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #F5F5F5;
    z-index: 1;
}

.status-timeline::after {
    content: '';
    position: absolute;
    top: calc(2rem + 25px);
    left: 10%;
    width: var(--progress-width, 0%);
    height: 4px;
    background-color: #FFC107;
    z-index: 2;
    transition: width 0.5s ease-in-out;
}

.status-item {
    text-align: center;
    width: 80px;
    z-index: 3;
    position: relative;
}

.status-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F5F5F5;
    color: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    border: 4px solid #F5F5F5;
    transition: all 0.3s ease;
    font-size: 20px;
}

.status-item.active .status-circle {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #000000;
}

.status-item p {
    font-weight: bold;
    color: #adb5bd;
    font-size: 14px;
    transition: color 0.3s ease;
}

.status-item.active p {
    color: #000000;
}

/* Service Details */
.service-details {
    margin-top: 2rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.service-details h2 {
    margin-top: 0;
    border-bottom: 2px solid #FFC107;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-item {
    padding: 0.5rem;
}

.detail-item strong {
    display: block;
    color: #555;
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #FFC107;
}

.footer-section p {
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-icons a {
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
}
.contact-icons a:hover {
    color: #FFC107;
}

/* Responsive Styles */
@media screen and (max-width: 767px) {
    .header {
        padding: 10px 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 10px;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .header {
        padding: 15px 25px;
    }

    .main-nav ul {
        gap: 20px;
    }
}

