* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #000;
    line-height: 1.6;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}

.panel {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

input:focus, textarea:focus, select:focus {
    background-color: #4a6fa5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.btn {
    background-color: #4a6fa5;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background-color: #3a5a8a;
    transform: translateY(-2px);
}

.btn-active {
    transform: translateY(0);
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #e0392b;
}

.btn-success {
    background-color: #27ae60;
}

.btn-success:hover {
    background-color: #219653;
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.notes-list {
    display: flex;
    overflow-y: auto;
    margin-top: 20px;
}

.note-item {
    background-color: #f9f9f9;
    border-left: 4px solid #4a6fa5;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.note-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.note-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e50;
}

.note-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.note-content {
margin-bottom: 15px;
color: #555;
white-space: pre-line;
font-family: 'Courier New', monospace;
background-color: #f5f5f5;
padding: 10px;
border-radius: 3px;
border: 1px solid #eee;
}

.note-actions {
display: flex;
gap: 10px;
}

.file-preview {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 5px;
padding: 15px;
margin-top: 20px;
max-height: 300px;
overflow-y: auto;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
white-space: pre-wrap;
}

.file-preview h3 {
margin-bottom: 10px;
color: #4a6fa5;
}

.stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #eee;
}

.stat-item {
text-align: center;
padding: 10px;
background-color: #f8f9fa;
border-radius: 5px;
}

.stat-value {
font-size: 1.8rem;
font-weight: 700;
color: #4a6fa5;
}

.stat-label {
font-size: 0.9rem;
color: #6c757d;
}

.empty-notes {
text-align: center;
color: #95a5a6;
padding: 40px 20px;
font-style: italic;
}

footer {
text-align: center;
margin-top: 30px;
padding-top: 20px;
color: #6c757d;
font-size: 0.9rem;
border-top: 1px solid #dee2e6;
}

.icon {
font-size: 1.2rem;
}