.projects_page {
    width: 100%;
    margin-top: 20px;
    padding: 40px;
}

.projects_wrapper {
    width: 1250px;
    margin: 30px auto;
    padding: 40px;
    background-color: white;
    border-radius: 20px;
    height: 90%;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 20px;
    padding: 30px;
    background-color: #f7f7f7;
    position: relative;
}

.project-card:hover {
    background-color: #f7f7f7;
}

.project-card:hover .project-menu {
    display: block;
    }

.create-project-card {
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.project-menu {
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    display: none;
}

.project-actions {
    cursor: pointer;
    display: none;
    position: absolute; /* Add absolute positioning to the icon */
    top: 40px; /* Adjust the top position to match the menu */
    right: -30px; /* Adjust the right position to match the menu */
    z-index: 9;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
}

.project-actions-buttons {
    display: flex;
    flex-direction: column; /* Arrange items in a row */
    margin-bottom: 10px; /* Add margin between the button rows */
}

.project-actions-icon {
    margin-right: 5px; /* Add margin between icons and text */
}

.project-actions-text {
    font-size: 14px; /* Adjust font size as needed */
}


.menu-icon {
    width: 16px;
    height: 16px;
    position: absolute; /* Add absolute positioning to the icon */
    top: 20px; /* Adjust the top position to match the menu */
    right: 30px; /* Adjust the right position to match the menu */
}

.remove-icon{
    display: flex;
    flex-direction: row;
    padding: 5px;
    margin: 5px 0px;
}

.remove-icon:hover{
    background-color: #f7f7f7;
}

.edit-icon {
    display: flex;
    flex-direction: row;
    padding: 5px;
    margin: 5px 0px;
}

.edit-icon:hover{
    background-color: #f7f7f7;
}

/* Conversation highlight styling */
.conversation-highlight {
    background-color: #9e82f13f;
    color: black;
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-block;
    margin: 4px 0;
}

/* Create chatbot pop up */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid #888;
    border-radius: 20px;
    width: 450px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-delete {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid #888;
    border-radius: 20px;
    width: 450px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.card-text {
    margin-bottom: 2px;
    line-height: 2.2;
}

/* Project header styling */
.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.project-logo {
    margin-right: 12px;
    flex-shrink: 0;
}

.logo-circle {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #9878F7 0%, #6667AB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(152, 120, 247, 0.3);
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    padding: 2px;
}

.card-title {
    margin: 0;
    flex-grow: 1;
}

/* Trend arrow styling */
.trend-arrow {
    font-weight: bold;
    font-size: 14px;
    margin-left: 4px;
}

.trend-up {
    color: #28a745;
}

.trend-down {
    color: #dc3545;
}
