/* bio-generator.css */

/* Layout and Spacing */
.ff-bio-generator {
    margin-left: auto;
    margin-right: auto;
    max-width: 672px;
    display: block;
    float: none;
    clear: both;
    text-align: center;
    margin-bottom: 2rem;
}
#nicksaleatorios {
    max-width: 672px; /* Mesma largura que .max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.max-w-2xl {
    max-width: 42rem; /* 672px */
}
.w-full {
    width: 100%;
}
.p-6 {
    padding: 1.5rem;
}
.space-y-6 > :not(:last-child) {
    margin-bottom: 1.5rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mt-1 {
    margin-top: 0.25rem;
}
.gap-4 {
    gap: 1rem;
}
.grid {
    display: grid;
}
.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex {
    display: flex;
}
.items-center {
    align-items: center;
}
.justify-between {
    justify-content: space-between;
}
.space-x-2 > :not(:last-child) {
    margin-right: 0.5rem;
}
.max-w-90\% {
    max-width: 90%;
}
.w-300px {
    width: 300px;
}
.p-1\.5rem {
    padding: 1.5rem;
}
.gap-0\.5rem {
    gap: 0.5rem;
}
.mt-1rem {
    margin-top: 1rem;
}
.max-h-200px {
    max-height: 200px;
}
.p-0\.5rem {
    padding: 0.5rem;
}
.p-1rem {
    padding: 1rem;
}
.overflow-x-auto {
    overflow-x: auto;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.border-b {
    border-bottom-width: 1px;
}
.border-gray-700 {
    border-color: #374151;
}
.p-1 {
    padding: 0.25rem;
}
.w-4 {
    width: 1rem;
}
.h-4 {
    height: 1rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

/* Typography */
.text-3xl {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem;
}
.font-bold {
    font-weight: 700;
}
.text-center {
    text-align: center;
}
.text-sm {
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem;
}
.font-medium {
    font-weight: 500;
}
.text-xs {
    font-size: 0.75rem; /* 12px */
    line-height: 1rem;
}
.text-lg {
    font-size: 1.125rem; /* 18px */
    line-height: 1.75rem;
}

/* Colors */
.bg-gray-800 {
    background-color: #1f2937;
}
.text-orange-400 {
    color: #f97316;
}
.bg-gray-700 {
    background-color: #374151;
}
.text-white {
    color: #ffffff;
}
.focus\:ring-orange-400:focus {
    --tw-ring-color: #f97316;
    box-shadow: 0 0 0 2px #f97316;
}
.bg-orange-400 {
    background-color: #f97316;
}
.text-gray-400 {
    color: #9ca3af;
}
.text-red-500 {
    color: #ef4444;
}
.bg-\#1F2937 {
    background-color: #1f2937;
}
.text-\#E5E7EB {
    color: #e5e7eb;
}
.bg-\#F97316 {
    background-color: #f97316;
}
.text-\#FFFFFF {
    color: #ffffff;
}
.bg-\#374151 {
    background-color: #374151;
}
.text-\#9CA3AF {
    color: #9ca3af;
}
.bg-gray-600 {
    background-color: #4b5563;
}
.hover\:bg-\#4B5563:hover {
    background-color: #4b5563;
}
.hover\:bg-\#EA580C:hover {
    background-color: #ea580c;
}
.hover\:bg-orange-500:hover {
    background-color: #ea580c;
}

/* Borders and Shadows */
.rounded-xl {
    border-radius: 0.75rem;
}
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.rounded-lg {
    border-radius: 0.5rem;
}
.focus\:ring-2:focus {
    --tw-ring-offset-width: 2px;
    box-shadow: 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-color);
}
.border-radius-0\.5rem {
    border-radius: 0.5rem;
}
.box-shadow-0-4px-6px-rgba\(0\,0\,0\,0\.4\) {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}
.border-radius-0\.25rem {
    border-radius: 0.25rem;
}
.border-radius-0\.375rem {
    border-radius: 0.375rem;
}

/* Interactivity */
.focus\:outline-none:focus {
    outline: none;
}
.hover\:transform:hover {
    transform: scale(1.05);
}
.hover\:scale-1\.05:hover {
    transform: scale(1.05);
}
.transition-transform-0\.2s-ease {
    transition: transform 0.2s ease;
}
.transition-background-0\.2s {
    transition: background 0.2s;
}
.cursor-pointer {
    cursor: pointer;
}

/* Others */
.hidden {
    display: none;
}
.block {
    display: block;
}
.inline-block {
    display: inline-block;
}
.pre-wrap {
    white-space: pre-wrap;
}
.overflow-y-auto {
    overflow-y: auto;
}
.overflow-x-hidden {
    overflow-x: hidden;
}

/* Bio Generator Specific Styles */
.generated-text-preview {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: linear-gradient(45deg, #1a202c, #2d3748);
    padding: 10px;
    white-space: pre-wrap;
}
.color-picker {
    position: relative;
    display: inline-block;
}
.color-picker input[type="color"] {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    appearance: none;
    background: none;
}
.color-picker input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}
.color-picker input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}
.color-picker input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 50%;
}
.copy-button:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}
label, select, option {
    color: #e5e7eb !important;
}
.white-label {
    color: #ffffff !important;
}
textarea::placeholder {
    color: #9ca3af !important;
}
.symbol-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #1f2937;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    max-width: 90%;
    width: 300px;
}
.symbol-popup .close-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    color: #e5e7eb;
    font-size: 1.25rem;
}
.symbol-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 1rem;
}
.simbolos {
    background: #374151;
    border-radius: 0.25rem;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 1rem;
}
.simbolos:hover {
    background: #4b5563;
}
.symbol-button {
    background: #f97316;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}
.symbol-button:hover {
    background: #ea580c;
}

/* Table-Specific Responsive Styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table {
    min-width: 300px; /* Ensure table is wide enough for content */
}
.table-responsive td {
    word-break: break-word; /* Break long words to prevent overflow */
    max-width: 150px; /* Limit cell width */
}
.table-responsive .signature-input {
    max-width: 200px; /* Wider on desktop to show full text */
    min-width: 80px; /* Ensure input is usable */
}
.table-responsive .copy-button {
    display: inline-flex; /* Ensure button is visible */
    padding: 0.25rem;
    min-width: 24px;
    min-height: 24px;
}
@media (max-width: 768px) {
    .table-responsive td {
        font-size: 0.75rem; /* Smaller text on mobile */
        padding: 0.5rem; /* Tighter padding */
    }
    .table-responsive .signature-input {
        max-width: 60px; /* Smaller input on mobile */
    }
    .table-responsive .truncated-input {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 50px; /* Truncated input on mobile */
    }
    .table-responsive .copy-button {
        padding: 0.2rem;
    }
}