/* css/notes-panel.css */

.notes-panel-content {
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill the tab panel */
    padding: 15px; /* Add some padding if not provided by parent */
    box-sizing: border-box;
}

.notes-panel-content h2 {
    /* Uses global h2 styles from theme.css or base.css */
    /* Or add specific overrides here if needed */
    margin-bottom: 10px; /* Space below heading */
    flex-shrink: 0; /* Prevent heading from shrinking */
}

.notes-panel-content #notes-textarea { /* Targeting by ID */
    flex-grow: 1; /* Textarea takes up remaining vertical space */
    width: 100%; /* Full width */
    min-height: 200px; /* Ensure decent minimum height */

    /* Inherit from components.css textarea or define here: */
    background-color: #080808;
    color: #a0a0a0;
    border: 1px solid #000000;
    padding: 12px;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
    resize: vertical;
    font-family: inherit;
    font-size: 0.95em;
    line-height: 1.5;
    box-sizing: border-box;
}

.notes-panel-content #notes-textarea:focus {
    border-color: #4a7ac1; /* Accent color from theme.css */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6), 0 0 0 2px rgba(74, 122, 193, 0.2);
    outline: none;
}

/* css/notes-panel.css */

.notes-panel { /* Wrapper div created by game.js for notes content */
    display: flex; /* Allow textarea to grow */
    flex-direction: column;
    height: 100%;
    /* Padding applied by #main-content-area or .panel-content-wrapper */
}

/* .notes-panel h2 already covered by general .tab-panel h2 in theme.css */

.notes-panel textarea {
    flex-grow: 1; /* Make textarea fill available space after h2 */
    width: 100%; /* Fill width of parent */
    min-height: 200px; /* Ensure it's usable even if parent is small */
    background-color: #080808; /* Very dark for text editing */
    color: #a0a0a0;
    border: 1px solid #000000;
    padding: 12px; /* More padding */
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
    /* font-family, font-size, line-height inherited or from components.css */
    box-sizing: border-box; /* Important */
}
/* Focus state from components.css */