* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

h1 { color: #4b2a85; margin-bottom: 20px; }

.input-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

input, textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus { border-color: #764ba2; }

button {
    padding: 12px;
    background: #764ba2;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover { background: #5a3682; transform: translateY(-2px); }

/* Note Card Style */
.note-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: left;
    border-left: 5px solid #764ba2;
    animation: fadeIn 0.5s ease;
}

.note-card h3 { margin-bottom: 5px; color: #333; }
.note-card p { font-size: 0.9rem; color: #666; }
.delete-btn {
    color: #ff4d4d;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 10px;
    display: inline-block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}