/* ═══════════════════════════════════════════════════
   Yalidine Plugin — Frontend Styles (Shortcodes)
═══════════════════════════════════════════════════ */

.yalidine-public { font-family: inherit; margin: 20px 0; }
.yalidine-public h3 { margin-top: 0; color: #2271b1; }

.yalidine-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background .2s;
}
.yalidine-btn:hover { background: #135e96; }

.yalidine-input {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 240px;
}

/* Track widget */
.yalidine-track-input-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }

.yal-track-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}
.yal-track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 600;
}
.yal-badge {
    background: #2271b1;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
}
.yal-track-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dee2e6;
}
.yal-timeline { margin-top: 12px; }
.yal-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0 8px 16px;
    border-left: 2px solid #2271b1;
    margin-left: 8px;
    position: relative;
}
.yal-dot {
    width: 10px; height: 10px;
    background: #2271b1;
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 12px;
    flex-shrink: 0;
}
.yal-error { color: #d63638; font-weight: 600; }

/* Fees widget */
.yalidine-fees-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.yalidine-fees-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.yalidine-fees-row select { padding: 8px 12px; border: 1px solid #ccc; border-radius: 5px; font-size: .95rem; }
.yal-fees-card { margin-top: 16px; }
.yal-fees-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.yal-fees-table th { background: #2271b1; color: #fff; padding: 8px 12px; text-align: left; }
.yal-fees-table td { padding: 7px 12px; border-bottom: 1px solid #eee; }
.yal-fees-table tr:hover td { background: #f0f4f8; }
