/* ============================================================
   GLASS CARD & CLIENT CARDS – Kazuma Ali Portfolio
   ============================================================ */

.glass-card,
.post-card,
.project-card,
.client-card,
.trash-item,
.notification-item-full,
.support-chat-list .chat-item,
.messages-container .message {
    background: var(--gradient-card);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(78, 205, 196, 0.12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(78, 205, 196, 0.06);
    padding: 1.5rem 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover,
.post-card:hover,
.project-card:hover,
.client-card:hover,
.support-chat-list .chat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(78, 205, 196, 0.25);
    border-color: rgba(78, 205, 196, 0.25);
}

/* Active Clients - horizontal cards */
.client-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.client-card-horizontal {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px; /* or use flex-grow */
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.client-card-horizontal:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.client-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px;
}

.client-profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info {
    flex: 1;
}

.client-email {
    font-size: 0.85em;
    color: #555;
}

.toggle-indicator {
    font-size: 1.2em;
    color: #888;
}

.client-projects-wrapper {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.client-projects-wrapper details {
    margin-bottom: 10px;
}

.client-projects-wrapper summary {
    font-weight: bold;
    cursor: pointer;
}

/* Project sections in client project page */
.project-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-section {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    background: #fafafa;
}

.project-section summary {
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 0;
}

.client-projects-wrapper {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.client-projects-wrapper.open {
    display: block;
}

.client-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.client-card-link:hover .client-card-horizontal {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}