* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background: #f8f9fa; color: #383838; padding: 0; margin: 0; }
.container { max-width: 760px; width: 100%; margin: 0 auto; padding: 2rem 1rem; }
.container h1 { font-family: 'Poppins', sans-serif !important; font-size: 41px !important; font-weight: 500 !important; line-height: 1.8 !important; margin-bottom: 0.5rem !important; color: #383838 !important; text-transform: none !important; text-align: center !important; letter-spacing: normal !important; }
.subtitle { font-family: 'Poppins', sans-serif; font-size: 1rem; color: #666; line-height: 1.7; margin-bottom: 1.8rem; text-align: center; }
.tabs { display: flex; gap: 8px; margin-bottom: 1.5rem; justify-content: center; }
.tab { padding: 9px 22px; border-radius: 8px; border: 1.5px solid #ddd; background: #fff; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600; color: #555; transition: all 0.15s; }
.tab.active { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.tab:hover:not(.active) { border-color: #aaa; background: #f0f0f0; }
.card { background: #fff; border-radius: 12px; border: 1px solid #e4e4e4; padding: 1.5rem; margin-bottom: 1rem; }
label { display: block; font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #888; margin-bottom: 8px; }
textarea { width: 100%; height: 130px; border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 12px; font-size: 0.9rem; font-family: 'Courier New', monospace; resize: vertical; color: #383838; background: #fafafa; transition: border-color 0.15s; outline: none; }
textarea:focus { border-color: #1a1a2e; background: #fff; }
.actions { display: flex; gap: 10px; margin: 1rem 0; flex-wrap: wrap; }
.btn-primary { background: #1a1a2e; color: #fff; border: none; padding: 10px 24px; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: background 0.15s, transform 0.1s; }
.btn-primary:hover { background: #2e2e4a; }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary { background: transparent; color: #555; border: 1.5px solid #ddd; padding: 10px 18px; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 400; cursor: pointer; transition: all 0.15s; }
.btn-secondary:hover { border-color: #aaa; background: #f5f5f5; }
.result-area { position: relative; }
.copy-btn { position: absolute; top: 8px; right: 8px; background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 4px 10px; font-family: 'Poppins', sans-serif; font-size: 0.75rem; cursor: pointer; color: #555; transition: all 0.15s; }
.copy-btn:hover { background: #f0f0f0; }
.copy-btn.copied { color: #2e7d32; border-color: #a5d6a7; background: #f1f8e9; }
.alert { display: none; padding: 10px 14px; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 0.85rem; margin-top: 10px; }
.alert.error { background: #fdecea; color: #c62828; border: 1px solid #ffcdd2; display: block; }
.alert.success { background: #f1f8e9; color: #2e7d32; border: 1px solid #a5d6a7; display: block; }
.divider { text-align: center; color: #bbb; font-family: 'Poppins', sans-serif; font-size: 0.82rem; margin: 0.8rem 0; position: relative; }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: #eee; }
.divider::before { left: 0; }
.divider::after { right: 0; }
.info-box { background: #eaf3fb; border: 1px solid #1e73be; border-radius: 8px; padding: 12px 16px; font-family: 'Poppins', sans-serif; font-size: 0.88rem; color: #1e73be; margin-top: 1.2rem; line-height: 1.7; }
.info-box strong { font-weight: 600; }
.info-box a { color: #1e73be; text-decoration: underline; text-underline-offset: 3px; }
.info-box a:hover { color: #155a96; }
.content-section { margin-top: 2.5rem; border-top: 1px solid #e4e4e4; padding-top: 2rem; }
.toggle-btn { display: flex; align-items: center; gap: 10px; width: 100%; background: #fff; border: 1.5px solid #e4e4e4; border-radius: 10px; padding: 14px 20px; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: #383838; cursor: pointer; text-align: left; transition: all 0.2s; }
.toggle-btn:hover { border-color: #1a1a2e; background: #f8f9fa; }
.toggle-btn .arrow { margin-left: auto; font-size: 0.85rem; color: #888; transition: transform 0.25s; }
.toggle-btn.open .arrow { transform: rotate(180deg); }
.content-body { overflow: hidden; max-height: 0; transition: max-height 0.4s ease, opacity 0.3s ease; opacity: 0; }
.content-body.open { max-height: none; opacity: 1; }
.content-body-inner { padding-top: 1.8rem; }
.content-section h2 { font-family: 'Poppins', sans-serif !important; font-size: 1.15rem !important; font-weight: 500 !important; line-height: 1.3 !important; color: #383838 !important; margin-bottom: 0.7rem !important; margin-top: 1.6rem !important; text-transform: none !important; letter-spacing: normal !important; }
.content-section h2:first-child { margin-top: 0 !important; }
.content-section p { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 400; color: #383838; line-height: 1.7; margin-bottom: 1.1rem; }
.content-section a { color: #1a1a2e; text-decoration: underline; text-underline-offset: 3px; }
.content-section a:hover { color: #555; }
@media (max-width: 500px) { .actions { flex-direction: column; } .btn-primary, .btn-secondary { width: 100%; text-align: center; } }