/* ═══════════════════════════════════════════════════════════════
   FREE TOOLS — Landing Page & Shared Styles
   ═══════════════════════════════════════════════════════════════ */

/* Hero */
.ft-hero {
    text-align: center;
    padding: 4rem 1.5rem 2.5rem;
    position: relative;
}

.ft-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.ft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 106, 42, 0.15);
    border: 1px solid rgba(224, 156, 61, 0.3);
    color: #E09C3D;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ft-badge-header {
    margin-bottom: 0;
}

/* ── Song Search ───────────────────────────────────────────────── */
.ft-search-wrap {
    position: relative;
}

.ft-search-input-wrap {
    position: relative;
}

.ft-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(224, 156, 61, 0.5);
    font-size: 0.85rem;
    pointer-events: none;
}

.ft-search-input {
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important;
}

.ft-search-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(224, 156, 61, 0.6);
    font-size: 0.85rem;
}

.ft-search-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: #1e1a15;
    border: 1px solid rgba(224, 156, 61, 0.25);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.ft-search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ft-search-item:last-child {
    border-bottom: none;
}

.ft-search-item:hover {
    background: rgba(224, 156, 61, 0.1);
}

.ft-search-item-art {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.ft-search-item-info {
    flex: 1;
    min-width: 0;
}

.ft-search-item-title {
    color: #FAF3E8;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ft-search-item-artist {
    color: #DCA65B;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ft-search-item-add {
    color: rgba(224, 156, 61, 0.6);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ft-search-empty {
    padding: 1rem;
    text-align: center;
    color: rgba(168, 146, 121, 0.5);
    font-size: 0.82rem;
}

.ft-search-divider {
    text-align: center;
    margin: 0.75rem 0;
    position: relative;
}

.ft-search-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.ft-search-divider-text {
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    padding: 0 0.75rem;
    color: rgba(168, 146, 121, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ft-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FAF3E8;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.ft-hero-subtitle {
    font-size: 1.1rem;
    color: #a89279;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Tools Grid */
.ft-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ft-tools-grid {
        grid-template-columns: 1fr;
    }
    .ft-hero-title {
        font-size: 1.8rem;
    }
}

/* Tool Card */
.ft-tool-card {
    background: rgba(26, 14, 6, 0.7);
    border: 1px solid rgba(129, 87, 57, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ft-tool-card:hover {
    border-color: rgba(224, 156, 61, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.ft-tool-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
}

.ft-glow-music { background: #D46A2A; }
.ft-glow-will { background: #6366f1; }

.ft-tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.ft-icon-music {
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
    color: #fff;
}

.ft-icon-will {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
}

.ft-tool-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FAF3E8;
    margin-bottom: 0.25rem;
}

.ft-tool-tagline {
    font-size: 0.85rem;
    color: #E09C3D;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ft-tool-desc {
    color: #a89279;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.ft-tool-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.ft-tool-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #E9D6B9;
    font-size: 0.85rem;
    padding: 0.35rem 0;
}

.ft-tool-features li i {
    color: #22c55e;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Tool Buttons */
.ft-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.ft-btn-music {
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 106, 42, 0.25);
}

.ft-btn-music:hover {
    background: linear-gradient(135deg, #C55A1C, #D46A2A);
    box-shadow: 0 6px 20px rgba(212, 106, 42, 0.35);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.ft-btn-will {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.ft-btn-will:hover {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* Why Free Section */
.ft-why-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

.ft-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #ef4444;
}

.ft-why-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FAF3E8;
    margin-bottom: 0.75rem;
}

.ft-why-text {
    color: #a89279;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.ft-why-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.ft-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ft-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #E09C3D;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.ft-stat-label {
    font-size: 0.8rem;
    color: #a89279;
}

/* Upgrade Section */
.ft-upgrade-section {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem 0;
}

.ft-upgrade-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FAF3E8;
    margin-bottom: 0.75rem;
}

.ft-upgrade-text {
    color: #a89279;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ft-upgrade-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Email Gate Modal ──────────────────────────────────────────── */
.ft-email-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.ft-email-overlay.ft-overlay-visible {
    display: flex;
}

.ft-email-modal {
    background: rgba(26, 14, 6, 0.97);
    border: 1px solid rgba(129, 87, 57, 0.4);
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ft-email-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}

.ft-email-icon-music {
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
    color: #fff;
}

.ft-email-icon-will {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
}

.ft-email-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FAF3E8;
    margin-bottom: 0.5rem;
}

.ft-email-desc {
    color: #a89279;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.ft-email-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(7, 12, 20, 0.5);
    border: 1px solid rgba(129, 87, 57, 0.3);
    color: #FAF3E8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.ft-email-input:focus {
    border-color: #E09C3D;
}

.ft-email-input::placeholder {
    color: rgba(168, 146, 121, 0.5);
}

.ft-email-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    min-height: 1.2rem;
}

.ft-email-submit {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.ft-email-submit-music {
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
}

.ft-email-submit-music:hover {
    background: linear-gradient(135deg, #C55A1C, #D46A2A);
}

.ft-email-submit-will {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}

.ft-email-submit-will:hover {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.ft-email-note {
    color: rgba(168, 146, 121, 0.5);
    font-size: 0.72rem;
}

.ft-email-skip {
    display: block;
    margin: 0.75rem auto 0;
    background: none;
    border: none;
    color: rgba(168, 146, 121, 0.55);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.ft-email-skip:hover {
    color: rgba(224, 156, 61, 0.8);
}

.ft-link-orange {
    color: #D46A2A;
}
.ft-link-orange:hover {
    color: #E09C3D;
}

.ft-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(224, 156, 61, 0.25);
    background: rgba(26, 14, 6, 0.6);
    color: #DCA65B;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ft-close-btn:hover {
    background: rgba(212, 106, 42, 0.2);
    border-color: rgba(224, 156, 61, 0.5);
    color: #E09C3D;
}

/* ── Share Image Styles ────────────────────────────────────────── */
.ft-share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.ft-share-overlay.ft-overlay-visible {
    display: flex;
}

.ft-share-modal {
    background: rgba(26, 14, 6, 0.97);
    border: 1px solid rgba(129, 87, 57, 0.4);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 560px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.ft-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ft-share-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FAF3E8;
}

.ft-share-close {
    background: none;
    border: none;
    color: #a89279;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

.ft-share-close:hover {
    color: #ef4444;
}

.ft-share-preview {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(129, 87, 57, 0.2);
}

.ft-share-preview img,
.ft-share-preview canvas {
    width: 100%;
    display: block;
}

.ft-share-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ft-share-btn {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #fff;
}

.ft-share-download {
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
}

.ft-share-download:hover {
    background: linear-gradient(135deg, #C55A1C, #D46A2A);
}

.ft-share-native {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.ft-share-native:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.ft-share-copy {
    background: rgba(129, 87, 57, 0.4);
    border: 1px solid rgba(129, 87, 57, 0.5);
}

.ft-share-copy:hover {
    background: rgba(129, 87, 57, 0.6);
}

/* Social share row */
.ft-share-social {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(90, 58, 36, 0.5);
}
.ft-share-social-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.ft-share-social-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.ft-social-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: filter 0.2s, transform 0.15s;
}
.ft-social-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}
.ft-social-fb  { background: #1877F2; }
.ft-social-x   { background: #000; border: 1px solid #333; }
.ft-social-li  { background: #0A66C2; }
.ft-social-pin { background: #E60023; }
.ft-share-social-tip {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── Free Version Notice Bar ───────────────────────────────────── */
.ft-free-bar {
    background: linear-gradient(135deg, rgba(212, 106, 42, 0.12), rgba(224, 156, 61, 0.08));
    border: 1px solid rgba(224, 156, 61, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ft-free-bar-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #E09C3D;
    font-size: 0.85rem;
    font-weight: 500;
}

.ft-free-bar-text i {
    font-size: 1rem;
}

.ft-free-bar-link {
    color: #E09C3D;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(224, 156, 61, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 0.35rem;
    transition: all 0.2s;
}

.ft-free-bar-link:hover {
    background: rgba(224, 156, 61, 0.1);
    border-color: #E09C3D;
    color: #E09C3D;
    text-decoration: none;
}

/* ── Style Picker Modal ────────────────────────────────────────── */
.ft-style-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.ft-style-overlay.ft-overlay-visible {
    display: flex;
}

.ft-style-modal {
    background: rgba(26, 14, 6, 0.97);
    border: 1px solid rgba(129, 87, 57, 0.4);
    border-radius: 1rem;
    padding: 2rem 2rem 1.5rem;
    max-width: 480px;
    width: 92%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.ft-style-header {
    margin-bottom: 1.5rem;
}

.ft-style-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: #fff;
}

.ft-style-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FAF3E8;
    margin-bottom: 0.35rem;
}

.ft-style-desc {
    color: #a89279;
    font-size: 0.85rem;
}

.ft-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.ft-style-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 0.5rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(129, 87, 57, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #FAF3E8;
}

.ft-style-btn:hover {
    border-color: rgba(224, 156, 61, 0.5);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.ft-style-btn-active {
    border-color: #E09C3D;
    background: rgba(224, 156, 61, 0.1);
    box-shadow: 0 0 15px rgba(224, 156, 61, 0.2);
}

.ft-style-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ft-swatch-ember {
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
}

.ft-swatch-midnight {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.ft-swatch-royal {
    background: linear-gradient(135deg, #9333ea, #c084fc);
}

.ft-swatch-rose {
    background: linear-gradient(135deg, #e11d48, #fb7185);
}

.ft-swatch-forest {
    background: linear-gradient(135deg, #16a34a, #4ade80);
}

/* Mobile: show native share, hide social buttons */
@media (max-width: 767px) {
    .ft-share-social {
        display: none;
    }
}

/* Desktop: hide native share, show social buttons */
@media (min-width: 768px) {
    .ft-share-native {
        display: none !important;
    }
}

.ft-style-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FAF3E8;
    line-height: 1;
}

.ft-style-hint {
    font-size: 0.7rem;
    color: #a89279;
    line-height: 1.1;
}

.ft-style-confirm {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #D46A2A, #E09C3D);
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(212, 106, 42, 0.25);
}

.ft-style-confirm:hover {
    background: linear-gradient(135deg, #C55A1C, #D46A2A);
    box-shadow: 0 6px 20px rgba(212, 106, 42, 0.35);
    transform: translateY(-1px);
}

/* Re-style button in share modal */
.ft-share-restyle {
    background: rgba(129, 87, 57, 0.35);
    border: 1px solid rgba(129, 87, 57, 0.5);
}

.ft-share-restyle:hover {
    background: rgba(224, 156, 61, 0.2);
    border-color: #E09C3D;
}

/* ─── Free Digital Dogtags theme (military steel) ─────────── */
.ft-glow-dogtags { background: #64748b; }

.ft-icon-dogtags {
    background: linear-gradient(135deg, #475569, #94a3b8);
    color: #fff;
}

.ft-btn-dogtags {
    background: linear-gradient(135deg, #475569, #64748b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(71, 85, 105, 0.3);
}

.ft-btn-dogtags:hover {
    background: linear-gradient(135deg, #334155, #475569);
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.45);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.ft-email-icon-dogtags {
    background: linear-gradient(135deg, #475569, #94a3b8);
    color: #fff;
}

.ft-email-submit-dogtags {
    background: linear-gradient(135deg, #475569, #64748b);
    color: #fff;
}

.ft-email-submit-dogtags:hover {
    background: linear-gradient(135deg, #334155, #475569);
}

/* Allow 3 cards to fit nicely on the FreeTools page */
@media (min-width: 1024px) {
    .ft-tools-grid.ft-tools-grid-three {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

/* ─── Free Dogtags page specifics ────────────────────────── */
.fdd-warn-bar {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(71, 85, 105, 0.12));
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-radius: 0.6rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #fecaca;
    font-size: .9rem;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}
.fdd-warn-bar i { color: #fca5a5; font-size: 1.05rem; margin-top: 2px; }
.fdd-warn-bar strong { color: #fff; }

.fdd-sec-bar {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.6rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.fdd-sec-bar-left { display: flex; align-items: center; gap: .75rem; color: #cbd5e1; font-size: .9rem; }
.fdd-sec-bar-left i { color: #4ade80; }
.fdd-sec-bar-status {
    font-size: .85rem;
    font-weight: 600;
    padding: .35rem .7rem;
    border-radius: 999px;
}
.fdd-sec-locked   { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4); }
.fdd-sec-unlocked { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.fdd-sec-bar-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.fdd-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.fdd-passgate-overlay {
    position: fixed; inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center; justify-content: center;
    z-index: 9999;
    padding: 1rem;
}
.fdd-passgate-overlay.show { display: flex; }
.fdd-passgate-modal {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.85rem;
    padding: 2rem;
    color: #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.fdd-passgate-modal h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; display: flex; align-items: center; gap: .6rem; }
.fdd-passgate-modal h3 i { color: #94a3b8; }
.fdd-passgate-modal p { font-size: .88rem; color: #cbd5e1; line-height: 1.5; margin-bottom: 1rem; }
.fdd-passgate-modal .fdd-input {
    width: 100%; padding: .65rem .85rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #fff; border-radius: .45rem;
    font-family: monospace; font-size: 1rem;
    margin-bottom: .75rem;
}
.fdd-passgate-modal .fdd-input:focus { outline: none; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2); }
.fdd-passgate-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.fdd-passgate-error { color: #fca5a5; font-size: .85rem; min-height: 1.2em; margin-bottom: .5rem; }
.fdd-passgate-note { font-size: .75rem; color: #94a3b8; margin-top: .75rem; }
