/* Modern Notepad Styles */
.notepad-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.notepad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notepad-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.notepad-textarea {
    width: 100%;
    min-height: 500px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.notepad-textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.save-status {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.save-status.visible {
    opacity: 1;
}

.save-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.save-status.error {
    background-color: #ffebee;
    color: #c62828;
}

/* Button Styles */
.notepad-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.notepad-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.notepad-button:hover {
    background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notepad-container {
        margin: 1rem auto;
    }
    
    .notepad-textarea {
        min-height: 300px;
    }
    
    .notepad-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}