/* Text to Emoji Converter - Frontend Styles */

.te-wrapper {
    max-width: 640px;
    margin: 24px auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.te-wrapper * {
    box-sizing: border-box;
}

.te-title {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.te-mode-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #374151;
}

.te-mode-toggle label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.te-input {
    width: 100%;
    min-height: 100px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.te-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.te-output-wrap {
    margin-top: 16px;
}

.te-output {
    min-height: 60px;
    padding: 12px 14px;
    font-size: 16px;
    line-height: 1.6;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    color: #111827;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.te-output:empty::before {
    content: "Emoji output ekhane show hobe...";
    color: #9ca3af;
    font-style: italic;
}

.te-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.te-btn {
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease, opacity 0.15s ease;
}

.te-btn:active {
    transform: scale(0.97);
}

.te-btn-primary {
    background: #6366f1;
    color: #ffffff;
}

.te-btn-primary:hover {
    background: #4f46e5;
}

.te-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.te-btn-secondary:hover {
    background: #e5e7eb;
}

.te-copy-msg {
    margin-top: 8px;
    font-size: 13px;
    color: #059669;
    min-height: 18px;
}

@media (max-width: 480px) {
    .te-wrapper {
        padding: 16px;
        margin: 16px;
    }

    .te-mode-toggle {
        flex-direction: column;
        gap: 8px;
    }
}
