@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); :root { --accent-start: #f97316; --accent-end: #fb923c; --accent-hover: #ea580c; --bg-dark: #050507; --card-bg: rgba(15,15,22,0.95); --border-color: #57534e; --text-color: #e2e8f0; --summary-bg: #0a0a0f; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg-dark); color: var(--text-color); min-height: 100vh; } .app-container { max-width: 1440px; margin: 0 auto; } header { background: rgba(10,10,15,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(249,115,22,0.2); padding: 1.5rem 3rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; } .logo { display: flex; align-items: center; gap: 14px; font-size: 1.95rem; font-weight: 700; letter-spacing: -0.03em; color: white; } .logo-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; box-shadow: 0 10px 25px -5px rgba(249,115,22,0.4); } .status { display: flex; align-items: center; gap: 10px; background: rgba(249,115,22,0.12); color: #fb923c; padding: 10px 22px; border-radius: 9999px; font-size: 0.97rem; font-weight: 500; border: 1px solid rgba(251,146,60,0.3); } main { padding: 3.5rem 3rem; } .grid { display: grid; grid-template-columns: 1fr; gap: 3rem; } @media (min-width: 1100px) { .grid { grid-template-columns: 1fr 1fr; } } .card { background: var(--card-bg); backdrop-filter: blur(16px); border: 1px solid rgba(249,115,22,0.22); border-radius: 28px; padding: 2.8rem; box-shadow: 0 30px 70px -15px rgb(0 0 0 / 0.55); display: flex; flex-direction: column; flex: 1 1 0; min-height: 520px; } .card h2 { font-size: 1.75rem; font-weight: 600; color: #fefce8; margin-bottom: 1.9rem; } textarea { flex: 1 1 auto; width: 100%; min-height: 350px; max-height: 650px; /* dynamic height */ background: #0a0a0f; border: 1px solid var(--border-color); border-radius: 24px; padding: 1.9rem 2.2rem; color: #f5f5f4; font-size: 1.18rem; line-height: 1.8; resize: vertical; overflow-y: auto; transition: border-color 0.3s ease, box-shadow 0.3s ease; } textarea:focus { border-color: var(--accent-start); box-shadow: 0 0 0 6px rgba(249,115,22,0.15); } .submit-btn { margin-top: 2rem; width: 100%; background: linear-gradient(to right, var(--accent-start), var(--accent-end)); color: white; font-weight: 600; font-size: 1.25rem; padding: 1.5rem; border-radius: 22px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 16px; box-shadow: 0 15px 35px -8px rgba(249,115,22,0.45); transition: all 0.3s ease; } .submit-btn:hover:not(:disabled) { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(249,115,22,0.55); } .submit-btn:disabled { opacity: 0.75; } .summary-area { flex: 1 1 auto; min-height: 350px; max-height: 650px; background: var(--summary-bg); border: 1px solid var(--border-color); border-radius: 24px; padding: 2.2rem; overflow-y: auto; font-size: 1.18rem; line-height: 1.82; color: #e7e5e4; transition: all 0.3s ease; } .summary-area p { margin: 0; } .copy-btn { background: linear-gradient(135deg, var(--accent-start), var(--accent-end)); color: white; padding: 0.85rem 1.8rem; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.3s ease; } .copy-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(249,115,22,0.5); } .copy-btn.copied { background: #22c55e; /* green */ color: white; box-shadow: 0 8px 20px rgba(34,197,94,0.45); } footer { text-align: center; padding: 3rem 1rem 2.5rem; color: #78716c; font-size: 0.97rem; border-top: 1px solid rgba(249,115,22,0.15); } @keyframes spin { to { transform: rotate(360deg); } }