* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
:root {
    --bg-card: #ffffff;
    --border-card: #e0e0e0;
    --accent: #007e7a;  
    --accent-light: #00bdb6;
    --text-light: #fff;
    --text-dark: #333;
}
.container {
    width: 100%;
    max-width: 1000px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
header {
    text-align: center;
    padding: 20px;
    background: var(--accent);
}
header h1 {
    font-size: 2.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
}
header .creator {
    margin-top: 6px;
    color: var(--accent-light);
    font-size: 1rem; 
    letter-spacing: 3px;
}
/* LAYOUT */
.generator {
    display: flex;
    flex-wrap: wrap;
}
.input-section,
.output-section {
    flex: 1;
    min-width: 280px;
    padding: 20px;
}
.input-section textarea {
    width: 100%;
    height: calc(100vh - 260px);
    max-height: 500px;
    background: #fafafa;
    border: 2px solid var(--border-card);
    border-radius: 8px;
    padding: 15px;
    color: var(--text-dark);
    font-size: 1.1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}
.input-section textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 10px rgba(0,255,245,0.2);
}
/* OUTPUT CARDS */
.out-card {
    background: #fafafa;
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.out-card h2 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.out-card .output-area {
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    min-height: 80px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-card);
}
.copy-btn {
    background: var(--accent);
    color: var(--text-light);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.copy-btn:hover {
    background: var(--accent-light);
}
/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid var(--border-card);
    background: #fff;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    header h1 { font-size: 2.2rem; }
    .input-section textarea { height: 200px; }
}