/* Main styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.knowledge-base {
    max-width: 800px;
    margin: 0 auto;
}

article {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hidden trigger (invisible) */
.invisible-trigger {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    opacity: 0;
    cursor: default;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* File manager styles */
.file-upload {
    margin: 20px 0;
}

.file-list {
    margin-top: 20px;
}

.file-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.file-item a {
    color: #3498db;
    text-decoration: none;
}

.file-item a:hover {
    text-decoration: underline;
}