/* Genel stiller */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

.app {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

header button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

#notes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.note {
    background: #fffbe6;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.note:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.note p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

/* Modal */
#note-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#note-modal.hidden {
    display: none;
}

#note-content {
    font-size: 1rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    resize: none;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

button#save-note-btn, button#copy-note-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button#save-note-btn:hover, button#copy-note-btn:hover {
    background-color: #45a049;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.modal-overlay.visible {
    display: block;
}
.hidden {
    display: none;
}


/* Login Container */
.login-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Login Box */
.login-box {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

/* Başlık */
.login-box h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333333;
}

/* Form Elemanları */
.login-box label {
    display: block;
    text-align: left;
    font-size: 14px;
    color: #555555;
    margin-bottom: 8px;
}

.login-box input {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333333;
    background-color: #f9f9f9;
}

.login-box input:focus {
    border-color: #007bff;
    outline: none;
    background-color: #ffffff;
}

/* Giriş Yap Butonu */
.login-box button {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-box button:hover {
    background-color: #0056b3;
}

/* Mobil Uyum */
@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }

    .login-box h1 {
        font-size: 20px;
    }
}

#delete-note-btn {
    background-color: #FF4C4C;
    color: white;
    border: none;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#delete-note-btn:hover {
    background-color: #CC0000;
}
.controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.controls input[type="date"] {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.summary {
    background-color: #f9f9f9;
    padding: 10px;
	color:red;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.summary p {
    margin: 5px 0;
}
