/* ============================================
   Employee ID Card Generator - Stylesheet
   Premium Dark Theme + Realistic Badge Holder
   ============================================ */

/* CSS Reset & Variables */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f35;
    --bg-glass: rgba(26, 31, 53, 0.7);
    --bg-input: #0f1325;
    --border-color: rgba(99, 120, 255, 0.15);
    --border-focus: rgba(99, 120, 255, 0.5);
    --text-primary: #f0f2ff;
    --text-secondary: #8b95b8;
    --text-muted: #5a6380;
    --accent-primary: #6366f1;
    --accent-secondary: #818cf8;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --accent-gradient-hover: linear-gradient(135deg, #7c7fff 0%, #9b7ff6 50%, #b9a0ff 100%);
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --danger: #ef4444;
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============== App Container ============== */
.app-container { position: relative; z-index: 1; max-width: 1480px; margin: 0 auto; padding: 0 24px; }

/* ============== Header ============== */
.app-header { padding: 20px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 32px; }
.header-content { display: flex; align-items: center; justify-content: space-between; }
.logo-section { display: flex; align-items: center; gap: 16px; }
.logo-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--accent-gradient); border-radius: var(--radius-md); padding: 8px; box-shadow: var(--shadow-glow); }
.logo-icon svg { width: 32px; height: 32px; }
.app-header h1 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subtitle { font-size: 0.85rem; color: var(--text-secondary); }
.header-actions { display: flex; gap: 10px; }

/* ============== Buttons ============== */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    border: none; border-radius: var(--radius-sm); font-family: 'Inter', sans-serif;
    font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--accent-gradient); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); }
.btn-primary:hover { background: var(--accent-gradient-hover); box-shadow: 0 6px 25px rgba(99, 102, 241, 0.45); transform: translateY(-2px); }
.btn-secondary { background: rgba(99, 102, 241, 0.1); color: var(--accent-secondary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: rgba(99, 102, 241, 0.2); border-color: var(--border-focus); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-color); }
.btn-ghost:hover { background: var(--bg-card); color: var(--text-primary); border-color: var(--border-focus); }
.btn-accent { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); color: white; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); }
.btn-accent:hover { box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5); transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; border-radius: var(--radius-md); }

/* ============== Random Button ============== */
.input-with-random {
    display: flex; gap: 6px; align-items: stretch;
}

.input-with-random input,
.input-with-random textarea,
.input-with-random select {
    flex: 1;
    min-width: 0;
}

.btn-random {
    width: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-sm);
    color: #f59e0b;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.btn-random:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: #f59e0b;
    transform: scale(1.05);
}

.btn-random.spinning svg {
    animation: spinOnce 0.4s ease;
}

@keyframes spinOnce {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============== Main Content ============== */
.main-content {
    display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px;
    align-items: start; padding-bottom: 60px;
}

/* ============== Panels ============== */
.form-panel, .preview-panel {
    background: var(--bg-glass); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: var(--radius-xl);
    padding: 28px; box-shadow: var(--shadow-md);
}

.panel-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color);
}
.panel-header h2 {
    font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 600;
    display: flex; align-items: center; gap: 10px;
}
.panel-header h2 svg { color: var(--accent-secondary); }
.badge { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; background: rgba(99, 102, 241, 0.15); color: var(--accent-secondary); border: 1px solid rgba(99, 102, 241, 0.2); }
.badge-success { background: var(--success-bg); color: var(--success); border-color: rgba(16, 185, 129, 0.2); animation: pulse 2s infinite; }

/* ============== Form Styles ============== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.required { color: var(--danger); }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 11px 14px; background: var(--bg-input);
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    color: var(--text-primary); font-family: 'Inter', sans-serif;
    font-size: 0.875rem; transition: var(--transition); outline: none;
}
.form-group select { cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b95b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    padding-right: 32px;
}
.form-group select option { background: #1a1f35; color: var(--text-primary); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 56px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Photo Upload */
.photo-upload-area { border: 2px dashed var(--border-color); border-radius: var(--radius-md); padding: 20px; text-align: center; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; min-height: 120px; display: flex; align-items: center; justify-content: center; background: var(--bg-input); }
.photo-upload-area:hover { border-color: var(--accent-primary); background: rgba(99, 102, 241, 0.05); }
.photo-upload-area.has-photo { border-style: solid; padding: 8px; }
.upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); }
.upload-placeholder svg { opacity: 0.6; }
.upload-placeholder span { font-size: 0.8rem; }
.upload-hint { font-size: 0.7rem !important; opacity: 0.6; }
.photo-preview { max-width: 100px; max-height: 130px; object-fit: cover; border-radius: var(--radius-sm); }

/* Form Actions */
.form-actions { display: flex; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-color); }
.form-actions .btn { flex: 1; justify-content: center; }

/* ============== Preview Panel ============== */
.preview-panel { position: sticky; top: 20px; }
.preview-wrapper {
    display: flex; justify-content: center; align-items: flex-start;
    padding: 10px 20px 30px;
    background: radial-gradient(ellipse at 50% 30%, rgba(180, 180, 200, 0.06) 0%, transparent 60%);
    border-radius: var(--radius-lg); min-height: 720px; overflow: visible;
}

/* ============================================
   REALISTIC BADGE HOLDER + LANYARD
   ============================================ */

.badge-scene {
    display: flex; flex-direction: column; align-items: center;
    position: relative; padding-top: 0;
    animation: gentleSwing 6s ease-in-out infinite;
    transform-origin: top center;
}
.badge-scene:hover { animation-play-state: paused; }

/* Lanyard Strap */
.lanyard { position: relative; width: 200px; height: 55px; z-index: 5; }

.lanyard-strap-left {
    position: absolute; top: -10px; left: 50%;
    transform: translateX(-70%);
    width: 80px; height: 60px;
    border-left: 5px solid #1a2744;
    border-top: 5px solid #1a2744;
    border-top-left-radius: 35px;
}
.lanyard-strap-left::before {
    content: 'ASTON SOLUTIONS';
    position: absolute; top: -8px; left: 6px;
    font-family: 'Outfit', sans-serif; font-size: 4.5px; font-weight: 700;
    letter-spacing: 1.5px; color: rgba(91, 155, 213, 0.5);
    writing-mode: vertical-lr; text-orientation: mixed; transform: rotate(180deg);
}

.lanyard-strap-right {
    position: absolute; top: -10px; right: 50%;
    transform: translateX(70%);
    width: 80px; height: 60px;
    border-right: 5px solid #1a2744;
    border-top: 5px solid #1a2744;
    border-top-right-radius: 35px;
}
.lanyard-strap-right::before {
    content: 'ASTON SOLUTIONS';
    position: absolute; top: -8px; right: 6px;
    font-family: 'Outfit', sans-serif; font-size: 4.5px; font-weight: 700;
    letter-spacing: 1.5px; color: rgba(91, 155, 213, 0.5);
    writing-mode: vertical-lr;
}

/* Metal Clip */
.metal-clip {
    position: relative; z-index: 10;
    display: flex; flex-direction: column; align-items: center;
    margin-top: -14px; margin-bottom: -2px;
}
.clip-top { width: 20px; height: 7px; background: linear-gradient(to bottom, #d4d8e0, #a8adb8, #c8ccd4); border-radius: 2px 2px 0 0; box-shadow: 0 -1px 3px rgba(0,0,0,0.2); }
.clip-ring { width: 15px; height: 15px; border: 3px solid #b0b5c0; border-radius: 50%; box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 0 1px 3px rgba(0,0,0,0.3); }
.clip-ring::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; background: #c8ccd4; border-radius: 50%; }
.clip-body {
    width: 32px; height: 18px;
    background: linear-gradient(135deg, #e0e3ea 0%, #b8bcc6 30%, #d0d4dc 50%, #a8adb8 70%, #c0c4cc 100%);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.5);
}
.clip-body::before { content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 22px; height: 2px; background: rgba(0,0,0,0.1); border-radius: 1px; }

/* Badge Holder */
.badge-holder { display: flex; flex-direction: column; align-items: center; }
.holder-slot { width: 42px; height: 10px; background: linear-gradient(to bottom, rgba(200, 210, 225, 0.3), rgba(180, 190, 210, 0.15)); border-radius: 0 0 5px 5px; border: 1px solid rgba(200, 210, 225, 0.2); border-top: none; margin-bottom: -1px; }

.holder-body {
    position: relative; padding: 22px 9px 14px;
    background: linear-gradient(165deg, rgba(220,225,235,0.12) 0%, rgba(200,210,225,0.08) 20%, rgba(180,190,210,0.05) 50%, rgba(200,210,225,0.08) 80%, rgba(220,225,235,0.12) 100%);
    border: 1px solid rgba(200, 210, 225, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3), 0 2px 10px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}
.holder-body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2) 50%, transparent); border-radius: 12px 12px 0 0; z-index: 21; }
.holder-body::after { content: ''; position: absolute; bottom: -8px; left: 15%; right: 15%; height: 8px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%); border-radius: 50%; z-index: -1; }

.plastic-shine { position: absolute; top: 15px; right: 15px; width: 60%; height: 40%; background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 100%); border-radius: 50%; pointer-events: none; z-index: 20; }
.plastic-shine-2 { position: absolute; bottom: 20px; left: 10px; width: 30%; height: 20%; background: linear-gradient(-45deg, rgba(255,255,255,0.03) 0%, transparent 100%); border-radius: 50%; pointer-events: none; z-index: 20; }

.card-container { perspective: 1000px; position: relative; z-index: 10; }

/* ============== ID Card ============== */
.id-card {
    width: 340px; min-height: 560px; background: #ffffff;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.1);
    font-family: 'Inter', Arial, sans-serif; transition: transform 0.4s ease;
    padding: 8px 20px 14px; display: flex; flex-direction: column;
}
.card-container:hover .id-card { transform: rotateY(-2deg) rotateX(1deg); }

/* Card Header */
.card-header { text-align: center; margin-bottom: 14px; }
.company-logo { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cube-logo { width: 46px; height: 42px; }
.company-name { display: flex; flex-direction: column; text-align: left; line-height: 1.05; }
.company-aston { font-family: 'Outfit', sans-serif; font-size: 1.55rem; font-weight: 800; color: #1a3a5c; letter-spacing: 2px; }
.company-solutions { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600; color: #5B9BD5; letter-spacing: 3px; }

/* Card Photo */
.card-photo-section { display: flex; justify-content: center; margin-bottom: 10px; }
.photo-frame { width: 155px; height: 175px; border: 3px solid #5B9BD5; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f5f7fa; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: none; }
.photo-frame img.visible { display: block; }
.photo-placeholder-card { display: flex; align-items: center; justify-content: center; }
.photo-placeholder-card.hidden { display: none; }

/* Card Name & Title */
.card-name-section { text-align: center; margin-bottom: 12px; }
.card-employee-name { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; color: #1a3a5c; letter-spacing: 1px; margin-bottom: 2px; text-transform: uppercase; }
.card-job-title { font-size: 0.8rem; font-weight: 600; color: #2E75B6; text-transform: uppercase; letter-spacing: 0.5px; }

/* Card Details */
.card-details { padding: 0 4px; flex: 1; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.detail-row-full { grid-template-columns: 1fr; }
.detail-label { display: block; font-size: 0.65rem; font-weight: 700; color: #1a3a5c; text-decoration: underline; margin-bottom: 1px; }
.detail-value { display: block; font-size: 0.72rem; font-weight: 600; color: #333; line-height: 1.3; }

/* ============== Trust Section: Barcode + Dates ============== */
.card-trust-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.trust-dates {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.trust-date-item {
    display: flex;
    gap: 4px;
    align-items: baseline;
}

.trust-label {
    font-size: 0.5rem;
    font-weight: 800;
    color: #1a3a5c;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trust-value {
    font-size: 0.6rem;
    font-weight: 600;
    color: #555;
}

.card-barcode {
    text-align: center;
}

.barcode-text {
    font-family: 'Libre Barcode 128 Text', cursive;
    font-size: 2.2rem;
    color: #000;
    letter-spacing: 2px;
    line-height: 1;
}

/* Card Footer */
.card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #eee; position: relative; }
.footer-logos { display: flex; align-items: center; gap: 8px; }
.footer-logo { display: flex; align-items: center; gap: 2px; font-size: 0.5rem; color: #666; }
.footer-logo svg { width: 18px; height: 18px; }
.footer-logo small { font-size: 0.38rem; line-height: 1; }
.r-logo { font-family: 'Outfit', serif; font-size: 0.8rem; font-weight: 800; color: #1a3a5c; border: 2px solid #1a3a5c; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.mls-text { font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 800; color: #1a3a5c; letter-spacing: 1px; }
.equal-housing { flex-direction: column; align-items: center; gap: 0; }
.equal-housing span { font-size: 0.32rem; font-weight: 700; text-align: center; line-height: 1.1; color: #333; text-transform: uppercase; }
.equal-housing small { font-size: 0.28rem; }

/* AS Watermark */
.as-watermark { position: absolute; right: 0; bottom: 0; }
.as-watermark span { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; color: rgba(91, 155, 213, 0.12); letter-spacing: 2px; line-height: 1; }

/* ============== Toast ============== */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--bg-card); border: 1px solid var(--border-color); padding: 14px 24px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); z-index: 1000; opacity: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); color: var(--success); font-size: 0.9rem; font-weight: 500; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============== Scrollbar ============== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* ============== Animations ============== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.form-panel { animation: fadeInUp 0.5s ease-out; }
.preview-panel { animation: fadeInUp 0.5s ease-out 0.15s both; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes gentleSwing { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(0.5deg); } 75% { transform: rotate(-0.5deg); } }

/* Drag over */
.photo-upload-area.drag-over { border-color: var(--accent-primary); background: rgba(99, 102, 241, 0.1); transform: scale(1.02); }

/* ============== Responsive ============== */
@media (max-width: 1100px) {
    .main-content { grid-template-columns: 1fr; }
    .preview-panel { position: static; }
    .form-row-2col { grid-template-columns: 1fr; }
    .template-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .app-container { padding: 0 12px; }
    .form-panel, .preview-panel { padding: 18px; }
    .id-card { width: 300px; padding: 16px 14px 12px; }
    .form-actions { flex-direction: column; }
    .header-content { flex-direction: column; gap: 12px; text-align: center; }
    .template-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============== Template Selector ============== */
.template-selector {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 22px 28px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.4s ease-out;
}

.template-selector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.template-selector-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.template-selector-header h2 svg {
    color: var(--accent-secondary);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.template-card {
    cursor: pointer;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-input);
}

.template-card:hover {
    border-color: var(--border-focus);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.template-card.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-primary), 0 6px 25px rgba(99,102,241,0.25);
}

.tmpl-preview {
    height: 90px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.tmpl-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.tmpl-photo-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid;
    background: rgba(255,255,255,0.15);
    margin-bottom: 6px;
}

.tmpl-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    width: 100%;
}

.tmpl-line {
    height: 3px;
    border-radius: 2px;
}

.tmpl-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tmpl-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tmpl-industry {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 500;
}
