/**
 * Public Tracking Page Styles
 */

.cf7rt-tracking-page {
    padding: 40px 20px;
}

.cf7rt-container {
    max-width: 800px;
    margin: 0 auto;
}

.cf7rt-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1d2327;
}

/* Lookup Form */
.cf7rt-lookup-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.cf7rt-form-group {
    margin-bottom: 20px;
}

.cf7rt-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1d2327;
}

.cf7rt-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.cf7rt-form-group input:focus {
    outline: none;
    border-color: #2271b1;
}

.cf7rt-button {
    width: 100%;
    padding: 12px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.cf7rt-button:hover {
    background: #135e96;
}

/* Error Message */
.cf7rt-error {
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #50575e;
}

/* Request Details */
.cf7rt-request-details {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cf7rt-status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 25px;
}

.cf7rt-status-submitted {
    background: #f0f6fc;
    color: #0969da;
}

.cf7rt-status-in_progress {
    background: #fff8c5;
    color: #9a6700;
}

.cf7rt-status-completed {
    background: #dafbe1;
    color: #1a7f37;
}

.cf7rt-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cf7rt-detail-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.cf7rt-label {
    display: block;
    font-size: 13px;
    color: #757575;
    margin-bottom: 5px;
}

.cf7rt-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

/* Timeline */
.cf7rt-timeline {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.cf7rt-timeline h3 {
    margin-bottom: 20px;
    color: #1d2327;
}

.cf7rt-timeline-items {
    position: relative;
    padding-left: 40px;
}

.cf7rt-timeline-items::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #ddd;
}

.cf7rt-timeline-item {
    position: relative;
    padding: 15px 0;
    opacity: 0.5;
}

.cf7rt-timeline-item.active {
    opacity: 1;
}

.cf7rt-timeline-marker {
    position: absolute;
    left: -34px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: 3px solid #fff;
}

.cf7rt-timeline-item.active .cf7rt-timeline-marker {
    background: #2271b1;
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.2);
}

.cf7rt-timeline-content strong {
    color: #1d2327;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .cf7rt-tracking-page {
        padding: 20px 10px;
    }

    .cf7rt-lookup-form,
    .cf7rt-request-details {
        padding: 20px;
    }

    .cf7rt-details-grid {
        grid-template-columns: 1fr;
    }
}