/* Main Wrapper */
.main-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px;
}

/* Page Title */
.insights-title {
    text-align: center;
    color: #175515;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Toggle Button */
#createToggleBtn {
    background: #175515;
    padding: 12px 20px;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Create Form Wrapper */
#formContainer {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin-bottom: 25px;
}

/* Create Form Fields */
#formContainer label {
    font-weight: bold;
    color: #175515;
}

#formContainer input,
#formContainer textarea,
#formContainer select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 15px;
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#formContainer button {
    background: #175515;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Search Bar */
.insights-search {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.insights-search input {
    width: 300px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.insights-search button {
    background: #175515;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Filter Buttons */
.insights-filter {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 14px;
    background: white;
    border: 1px solid #175515;
    color: #175515;
    border-radius: 6px;
    margin: 0 5px;
    cursor: pointer;
}

.filter-btn.active {
    background: #175515;
    color: white;
}

/* Empty State */
.empty-box {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    margin-top: 20px;
}

.empty-box i {
    font-size: 55px;
    color: #175515;
    margin-bottom: 15px;
}

/* Insights Grid */
.insights-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ---------------------------------- */
/*     LANDSCAPE INSIGHT CARD STYLE   */
/* ---------------------------------- */

.insight-card {
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Header with Avatar + Name */
.insight-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.insight-avatar {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #175515;
}

.insight-header-info {
    display: flex;
    flex-direction: column;
}

.insight-user {
    font-size: 16px;
    font-weight: bold;
    color: #175515;
    margin: 0;
}

.insight-date {
    font-size: 13px;
    color: #777;
}

/* Landscape Body */
.insight-body {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

/* Main Image (LEFT SIDE) */
.insight-main-img {
    width: 260px;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Text on right side */
.insight-text {
    flex: 1;
}

.insight-text h3 {
    font-size: 20px;
    font-weight: bold;
    color: #175515;
    margin: 0 0 6px 0;
}

.insight-company {
    font-size: 15px;
    margin-bottom: 6px;
    color: #444;
}

.insight-description {
    color: #333;
    line-height: 1.45em;
}

/* MOBILE FIX */
@media (max-width: 650px) {

    .insight-body {
        flex-direction: column;
    }

    .insight-main-img {
        width: 100%;
        height: 220px;
    }
}
