/* public/styles.css */

body {
    width: 100%;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

h1 {
    text-align: center;
    color: #333;
}

#add-memo-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#add-memo-button:hover {
    background-color: #45a049;
}

.memos-container {
    max-width: 800px;
    margin: 0 auto;
}

.memo-container {
    background-color: white;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #d78ddb;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.memo-container textarea {
    width: 70%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 14px;
    box-sizing: border-box;
}

.button-group {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.button-group button {
    margin-bottom: 5px;
    padding: 8px 10px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.button-group button:hover {
    background-color: #1976D2;
}

.button-group .delete-button {
    background-color: #f44336;
}

.button-group .delete-button:hover {
    background-color: #d32f2f;
}

/* カスタムアラート用のスタイル */
#customAlert {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #d78ddb;
    padding: 10px;
    border-radius: 5px;
    color: white;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1000;
}
