/* Table Container */
.research-table-container {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 20px 0;
    border-top: 1px solid #eee;
}

/* Row Styling */
.research-row {
    display: flex;
    padding: 20px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
}

.research-row.odd {
    background-color: #f9f9f9;
}

.research-row.even {
    background-color: #fff;
}

/* Number Column */
.research-col-number {
    flex: 0 0 50px;
    text-align: center;
    font-weight: bold;
    color: #333;
    padding-top: 5px;
}

/* Content Column */
.research-col-content {
    flex: 1;
    padding: 0 20px;
}

.research-title {
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: normal;
    color: #333;
    line-height: 1.4;
}

.research-author {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.research-view-more {
    font-size: 14px;
    color: #0073aa;
    text-decoration: none;
}

.research-view-more:hover {
    text-decoration: underline;
}

/* Action Column */
.research-col-actions {
    flex: 0 0 200px; /* Adjust based on button size */
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Buttons */
.research-action-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    color: #800080; /* Purple as seen in image */
    font-size: 14px;
    transition: all 0.2s;
}

.research-action-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

/* Modal/Popup */
.research-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.research-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.research-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.research-close-btn:hover,
.research-close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.research-modal h4 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .research-row {
        flex-direction: column;
    }
    
    .research-col-actions {
        margin-top: 15px;
        justify-content: flex-start;
        width: 100%;
    }
    
    .research-col-number {
        margin-bottom: 10px;
        text-align: left;
    }
}
