/* INPUT + BOTÓN */
.acs-tracking-box {
    display: flex;
    max-width: 620px;
    margin: 40px auto;
    border-radius: 60px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.acs-tracking-box input {
    flex: 1;
    padding: 23px;
    border: none;
    outline: none;
    font-size: 16px;
}

.acs-tracking-box button {
    background: linear-gradient(135deg, #1f8ea3, #0f6c7a);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.acs-tracking-box button:hover {
    background: linear-gradient(135deg, #166d7e, #0c4f59);
}

/* MODAL */
.acs-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
}

.acs-modal-content {
    position: relative;
    background: #ffffff;
    margin: 8% auto;
    padding: 30px;
    width: 90%;
    max-width: 520px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: smoothFade 0.35s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* X */
.acs-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

.acs-close:hover {
    color: #000;
}

/* HEADER */
.acs-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.acs-tracking-id {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

/* LOCATION */
.acs-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* TIMELINE */
.acs-event {
    position: relative;
    padding-left: 20px;
    margin-bottom: 18px;
}

.acs-event::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #1f8ea3;
    border-radius: 50%;
}

.acs-event::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 15px;
    width: 2px;
    height: calc(100% + 10px);
    background: #ddd;
}

.acs-event:last-child::after {
    display: none;
}

.acs-event strong {
    display: block;
    font-size: 13px;
    color: #888;
}

.acs-event span {
    font-size: 15px;
    color: #222;
}

/* DISCLAIMER */
.acs-disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 20px;
    line-height: 1.4;
}

/* BOTONES */
.acs-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.acs-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.acs-close-btn {
    background: #eee;
    color: #333;
}

.acs-close-btn:hover {
    background: #ddd;
}

.acs-login-btn {
    background: linear-gradient(135deg, #1f8ea3, #0f6c7a);
    color: white;
}

.acs-login-btn:hover {
    background: linear-gradient(135deg, #166d7e, #0c4f59);
}

/* ANIMACIÓN */
@keyframes smoothFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media(max-width: 600px) {
    .acs-modal-content {
        margin-top: 25%;
        padding: 20px;
    }
}