/* Custom styles for StealthText */
.stealthtext-app {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-text);
}

.hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-subtitle {
    font-size: 14px;
    color: #86868b;
}

.use-case-hint {
    background: var(--color-section-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: #86868b;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 15px;
}

.tab-btn:hover {
    color: var(--color-brand-teal);
    background: rgba(0,0,0,0.02);
}

.tab-btn.active {
    color: var(--color-brand-teal);
    border-bottom-color: var(--color-brand-teal);
}

.section-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.section-content.active {
    display: block;
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--color-text-primary);
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.input-field:focus {
    border-color: var(--color-brand-teal);
}

.settings-panel {
    background: var(--color-section-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.password-container {
    display: none;
    margin-top: 12px;
}

.password-container.active {
    display: block;
}

.result-box {
    margin-top: 24px;
    display: none;
}

.result-box.active {
    display: block;
}

.result-textarea {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid #34c759;
    border-radius: 8px;
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    min-height: 100px;
    outline: none;
    resize: vertical;
}

.result-textarea[readonly] {
    background: rgba(52, 199, 89, 0.05);
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}

.disclaimer {
    margin-top: 48px;
    padding: 16px;
    background: var(--color-section-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 12px;
    color: #86868b;
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none !important;
}