/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.note-shell-left {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    min-height: calc(100vh - 120px);
    padding-top: 20px;
}

.note-shell-left .list-group-item {
    border: none;
    cursor: pointer;
}

.note-shell-left .list-group-item:hover {
    background-color: #e9ecef;
}

.note-shell-left .list-group-item.active {
    background-color: #007bff;
    color: white;
}

.note-shell-right .list-group-item {
    cursor: pointer;
}

.note-shell-right .list-group-item:hover {
    background-color: #f8f9fa;
}

.badge-draft {
    background-color: #ffc107;
    color: #212529;
}

.badge-public {
    background-color: #28a745;
    color: white;
}

.note-article {
    max-width: 760px;
    margin: auto;
}

.note-article h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

.note-content {
    font-size: 18px;
    line-height: 1.8;
}

.note-content img {
    max-width: 100%;
    height: auto;
}

.note-content pre {
    overflow-x: auto;
    background: #f6f6f6;
    padding: 12px;
}

.note-details {
    max-width: 900px;
    margin: 0 auto;
}

.note-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.note-meta {
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.note-summary {
    font-size: 1rem;
}

.note-content {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 20px;
}

.note-content h2 {
    margin-top: 30px;
    font-size: 1.5rem;
}

.note-content pre {
    background: #1e1e1e;
    color: #eee;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}

.note-content code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

@@media (max-width:768px) {
    .note-article {
        padding: 16px;
    }

    .note-content {
        font-size: 17px;
    }
}
