/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

header h1 {
    margin-bottom: 15px;
    color: #0a192f;
}

.note-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.note-controls input,
.note-controls textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.note-controls button {
    padding: 10px 15px;
    background: #00b4d8;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.note-controls button:hover {
    background: #0096c7;
}

.search-box {
    margin-bottom: 15px;
}

.search-box input {
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note {
    background: #f1f1f1;
    border-radius: 8px;
    padding: 10px;
    text-align: left;
    position: relative;
}

.note h3 {
    margin-bottom: 5px;
}

.note p {
    margin-bottom: 10px;
}

.note-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
}

.note-buttons button {
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 5px;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease;
}

.note-buttons button:hover {
    color: #00b4d8;
}

.clear-btn {
    margin-top: 20px;
    padding: 10px 15px;
    background: #ef233c;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.clear-btn:hover {
    background: #d90429;
}

footer {
    margin-top: 20px;
    color: #777;
    font-size: 0.9rem;
}


