

/*--------------------- Global Styling ------------------------*/
/* container to flex and center everything within inside a main tag */
/* takes up window space minus header and footer */
.center-container {
    flex: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 84vh;
}

/* Hides objects and items */
.hidden {
    display: none !important;
}  

.dropdown-item:hover {
    background-color: #0d6efd; 
    color: white;
    cursor: pointer;
}

/*--------------------- CALENDAR Styling ------------------------*/
#calendar {
    margin: 20px;
    width: 100%;
    max-width: 1150px; 
    min-height: 600px;
}

.inline{
    display:inline;
}


.fc-event-title {
    white-space: normal !important;
    overflow: visible !important;
    cursor: pointer;
}


/*--------------------- CS341 Logo in Footer --------------------*/
#cs341 {
    height: 50px;
    width: 50px;
}

/*--------------------- About Us Page ---------------------------*/
#aboutUsBody {
    background-color: #f5f5f5;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#aboutUsContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

#aboutUsHeader {
    text-align: center;
    margin-bottom: 3rem;
}

#aboutUsTitle {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.member-name {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
  
.aboutBtnContainer {
    margin-top: auto;
}
  
.aboutBtn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.aboutBtn:hover {
    background-color: #04cdff;
    color: #004c5b
}

/*--------------------- Messaging Page ---------------------------*/

/* Chat container and layout */
.chat-container {
    max-height: 600px;
}

.messages-area {
    overflow-y: auto;
    height: 500px;
}

/* Message styling */
.message-sent {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.message-received {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.message-bubble {
    max-width: 70%;
    border-radius: 10px;
    padding: 10px;
}

.message-sent .message-bubble {
    background-color: #007bff;
    color: white;
}

.message-received .message-bubble {
    background-color: #f1f0f0;
    color: black;
}

/* Participants modal */
.participants-list {
    max-height: 300px;
    overflow-y: auto;
}

.message-content {
    word-wrap: break-word; /* Breaks long words if needed */
    overflow-wrap: break-word; /* Ensures overflow text is wrapped */
}

.text-message {
    max-width: 70%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Prevent horizontal overflow */
.d-flex {
    flex-wrap: wrap; /* Ensure the messages are wrapped correctly */
}

#newChatModal {
    z-index: 100000;
}