* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.app-wrapper {
    background: #111827;
    width: 420px;
    max-width: 100%;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

h2 {
    color: #e5e7eb;
    text-align: center;
    margin-bottom: 15px;
}

textarea {
    width: 100%;
    background: #1f2933;
    border: 1px solid #374151;
    border-radius: 10px;
    padding: 14px;
    color: #f9fafb;
    font-size: 15px;
    resize: none;
    outline: none;
    transition: border 0.3s ease;
}

textarea:focus {
    border-color: #38bdf8;
}

.info {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: #9ca3af;
    font-size: 14px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

#remaining {
    font-size: 13px;
    color: #22c55e;
}

button {
    background: #38bdf8;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #0ea5e9;
}

/* Warning state */
.limit {
    color: #ef4444 !important;
}

/* Mobile spacing fix */
@media (max-width: 480px) {
    body{
        align-items: flex-start;
        padding-top: 16px;
    }
    .app-wrapper {
        
        margin-top: 0px;
    }
}
