/* ── Inline Step-by-Step Guide ───────────────────── */

.guide-card {
    border: 1px solid #d4e3fc;
    border-radius: 12px;
    background: linear-gradient(135deg, #f6f9ff 0%, #fff 100%);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}
.guide-header:hover {
    background: rgba(26, 115, 232, 0.04);
}

.guide-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.guide-header-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a73e8;
}
.guide-header-sub {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 400;
}

.guide-chevron {
    color: #adb5bd;
    font-size: 0.8rem;
    transition: transform 0.25s;
}
.guide-card.open .guide-chevron {
    transform: rotate(180deg);
}

/* Body */
.guide-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.guide-card.open .guide-body {
    max-height: 800px;
}

.guide-body-inner {
    padding: 0 18px 18px;
}

/* Steps */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.guide-step {
    display: flex;
    gap: 14px;
    position: relative;
}

/* Connector line */
.guide-step:not(:last-child) .guide-step-indicator::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 14px);
    background: #d4e3fc;
}

.guide-step-indicator {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guide-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.guide-step-content {
    padding-bottom: 18px;
    min-width: 0;
}

.guide-step:last-child .guide-step-content {
    padding-bottom: 4px;
}

.guide-step-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
    line-height: 28px;
}

.guide-step-desc {
    font-size: 0.79rem;
    color: #555;
    line-height: 1.5;
}

.guide-step-desc code {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.76rem;
}

/* Tip box */
.guide-tip {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff8e1;
    border-radius: 8px;
    border-left: 3px solid #f9a825;
    font-size: 0.79rem;
    color: #5d4037;
    line-height: 1.5;
}

.guide-tip strong {
    color: #e65100;
}

/* Dismiss link */
.guide-dismiss {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.75rem;
    color: #999;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}
.guide-dismiss:hover {
    color: #555;
    text-decoration: underline;
}
