/* --- Lorem Ipsum Wrapper --- */
#li-wrapper {
    font-family: 'Press Start 2P', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #111827;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 2px solid #374151;
    color: white;
}

/* --- Controls Panel --- */
.li-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    background-color: #1f2937;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #374151;
    margin-bottom: 20px;
}

@media (min-width: 600px) {
    .li-controls {
        grid-template-columns: repeat(3, 1fr);
        align-items: end;
    }
}

.li-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.li-input-group label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
}

/* Inputs & Selects */
.li-input, .li-select {
    background-color: #000;
    border: 2px solid #374151;
    color: #fff;
    padding: 10px;
    font-family: 'Press Start 2P', monospace, sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    width: 100%;
}

.li-input:focus, .li-select:focus {
    border-color: #c084fc; /* Purple */
    box-shadow: 0 0 8px rgba(192, 132, 252, 0.3);
}

/* Checkbox Style */
.li-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #d1d5db;
    user-select: none;
}

.li-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #c084fc;
    cursor: pointer;
}

/* --- Generate Button --- */
.li-btn-gen {
    background-color: #7c3aed; /* Violet */
    color: white;
    border: none;
    border-bottom: 4px solid #5b21b6;
    padding: 12px;
    font-family: inherit;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.1s;
    width: 100%;
}

.li-btn-gen:active {
    transform: translateY(4px);
    border-bottom: none;
    margin-top: 4px;
}

.li-btn-gen:hover {
    background-color: #8b5cf6;
}

/* --- Output Area --- */
.li-output-container {
    width: 100%;
    position: relative;
}

.li-textarea {
    width: 100%;
    min-height: 300px;
    background-color: #050505;
    color: #e5e7eb;
    border: 1px solid #333;
    padding: 20px;
    font-family: 'Georgia', serif; /* Serif for Lorem Ipsum looks better */
    font-size: 1.1rem;
    line-height: 1.6;
    border-radius: 6px;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    white-space: pre-wrap;
}

.li-textarea:focus {
    border-color: #c084fc;
}

/* --- Action Bar (Copy) --- */
.li-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    width: 100%;
}

.li-btn-copy {
    background-color: #374151;
    color: #e5e7eb;
    border: none;
    border-bottom: 4px solid #1f2937;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
}

.li-btn-copy:hover {
    background-color: #4b5563;
    color: white;
}

.li-btn-copy:active {
    transform: translateY(4px);
    border-bottom: none;
    margin-top: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    #li-wrapper { padding: 15px; }
    .li-textarea { font-size: 0.9rem; }
}