/* Aurora Notes - Professional Creative Version */

/* Background gradient for business look */
body {
    background: linear-gradient(135deg, #f4f1f8, #e8f5f5);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

header h1 {
    font-size: 2rem;
    color: #222;
}

header button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
header button:hover {
    opacity: 0.9;
}

/* Notes container */
#notes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 40px;
    justify-content: center;
}

/* Note style */
.note {
    position: relative;
    width: 220px;
    min-height: 150px;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    cursor: text;
    overflow-wrap: break-word;
    transition: transform 0.25s, box-shadow 0.25s;
    user-select: text;
}
.note:focus {
    outline: 2px solid #666;
    transform: scale(1.04);
}

/* Delete button inside notes */
.note .delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.15);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
}
.note .delete-btn:hover {
    background: rgba(0,0,0,0.4);
}

/* New modern color palette for sticky notes */
.note-color-0 { background: #ffe4e1; }  /* Soft Coral */
.note-color-1 { background: #fff9c4; }  /* Light Yellow */
.note-color-2 { background: #c8e6c9; }  /* Mint Green */
.note-color-3 { background: #d1c4e9; }  /* Lavender */
.note-color-4 { background: #ffecb3; }  /* Warm Sand */
.note-color-5 { background: #f8bbd0; }  /* Rose Pink */
.note-color-6 { background: #b3e5fc; }  /* Sky Blue */

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    #notes-container {
        padding: 20px;
        gap: 15px;
    }
    .note {
        width: 100%;
        min-height: 120px;
    }
}

/* Editable text inside notes */
.note-content {
    min-height: 100px;
    outline: none;
    font-size: 1rem;
    line-height: 1.4;
    padding: 5px;
    white-space: pre-wrap;

}

/* Toolbar inside notes */
.toolbar {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.toolbar button {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
    color: #fff;
}
.toolbar button:hover {
    background: rgba(255,255,255,0.25);
}

/* Color pickers */
.toolbar input[type="color"] {
    border: none;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    border-radius: 6px;
    background: transparent;
}

