/* EventHub Frontend Styles */

/* Registration Success Confirmation (shown once, immediately after registration) */
.eventhub-registration-success {
    padding: 30px;
    margin: 20px 0;
    background: #f0faf0;
    border: 1px solid #c3e6c3;
    border-left: 5px solid #2e7d32;
    border-radius: 6px;
    text-align: center;
}

.eventhub-registration-success .eventhub-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    background: #2e7d32;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 1;
}

.eventhub-registration-success h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #1b5e20;
}

.eventhub-registration-success p {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.eventhub-registration-success .eventhub-event-dates {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

.eventhub-registration-success .eventhub-success-actions {
    margin-top: 20px;
}

.eventhub-registration-success .eventhub-success-actions .eventhub-btn,
.eventhub-registration-success .eventhub-success-actions .eventhub-btn-secondary {
    margin: 0 6px;
}

/* Access Restricted Notice (shown to subscribers not registered for an event) */
.eventhub-access-restricted {
    padding: 25px 30px;
    margin: 20px 0;
    background: #fef9e7;
    border: 1px solid #f0d78c;
    border-left: 5px solid #d4a017;
    border-radius: 6px;
    text-align: center;
}

.eventhub-access-restricted p {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5a4e1a;
}

.eventhub-access-restricted .eventhub-btn {
    margin-top: 8px;
}

/* Registration and Login Notices */
.eventhub-registration-note {
    padding: 15px 20px;
    margin-bottom: 25px;
    background: #e7f3ff;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
}

.eventhub-registration-note p {
    margin: 8px 0;
    line-height: 1.6;
}

.eventhub-registration-note strong {
    color: #2271b1;
    font-size: 16px;
}

.eventhub-login-required {
    padding: 30px;
    margin: 20px 0;
    background: #fff;
    border: 2px solid #667eea;
    border-radius: 8px;
    text-align: center;
}

.eventhub-login-required h3 {
    margin: 0 0 15px;
    color: #667eea;
    font-size: 24px;
}

.eventhub-login-required p {
    margin: 12px 0;
    line-height: 1.6;
    color: #555;
}

.eventhub-login-required .button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.eventhub-login-required .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Event Search Box */
.eventhub-event-list-wrapper {
    margin: 20px 0;
}

.eventhub-event-search-box {
    position: relative;
    margin-bottom: 25px;
}

.eventhub-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.eventhub-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.eventhub-search-input::placeholder {
    color: #999;
}

.eventhub-event-search-box .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
    color: #999;
}

.eventhub-no-results {
    padding: 40px 20px;
    text-align: center;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #666;
}

.eventhub-no-results p {
    margin: 0;
    font-size: 16px;
}

/* Event List */
.eventhub-event-list {
    margin: 20px 0;
}

.event-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.event-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.event-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
}

.date-month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.date-day {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-top: 5px;
}

.event-details {
    flex: 1;
}

.event-title {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.event-excerpt {
    margin: 10px 0;
    color: #555;
    line-height: 1.6;
}

.event-link {
    display: inline-block;
    margin-top: 10px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.event-link:hover {
    color: #764ba2;
}

/* Schedule */
.eventhub-schedule {
    margin: 20px 0;
}

/* Schedule notice banner (v7.0.0) */
.eventhub-schedule-banner {
    background: #fef3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.eventhub-schedule-banner p {
    margin: 0;
    color: #664d03;
    font-size: 15px;
    line-height: 1.6;
}

/* Concurrent Sessions Styling */
.schedule-session.concurrent-session {
    position: relative;
    border-left: 4px solid transparent;
}

/* Color coding for different concurrent groups */
.schedule-session.concurrent-group-1 {
    border-left-color: #667eea;
    background: linear-gradient(to right, rgba(102, 126, 234, 0.05), transparent);
}

.schedule-session.concurrent-group-2 {
    border-left-color: #f093fb;
    background: linear-gradient(to right, rgba(240, 147, 251, 0.05), transparent);
}

.schedule-session.concurrent-group-3 {
    border-left-color: #4facfe;
    background: linear-gradient(to right, rgba(79, 172, 254, 0.05), transparent);
}

.schedule-session.concurrent-group-4 {
    border-left-color: #43e97b;
    background: linear-gradient(to right, rgba(67, 233, 123, 0.05), transparent);
}

.schedule-session.concurrent-group-5 {
    border-left-color: #fa709a;
    background: linear-gradient(to right, rgba(250, 112, 154, 0.05), transparent);
}

/* Additional groups cycle through colors */
.schedule-session.concurrent-group-6 {
    border-left-color: #feca57;
    background: linear-gradient(to right, rgba(254, 202, 87, 0.05), transparent);
}

.schedule-session.concurrent-group-7 {
    border-left-color: #ff6b6b;
    background: linear-gradient(to right, rgba(255, 107, 107, 0.05), transparent);
}

.schedule-session.concurrent-group-8 {
    border-left-color: #a29bfe;
    background: linear-gradient(to right, rgba(162, 155, 254, 0.05), transparent);
}

/* Concurrent session indicator badge */
.schedule-session.concurrent-session .session-time::after {
    content: "⚡";
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    opacity: 0.6;
    vertical-align: middle;
}


.eventhub-schedule-header {
    margin-bottom: 30px;
}

.eventhub-schedule-header h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.eventhub-schedule-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.filter-group select,
.filter-group input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

.filter-group input[type="text"] {
    min-width: 250px;
}

.schedule-day {
    margin-bottom: 40px;
}

.schedule-day-title {
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.schedule-sessions {
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.schedule-track {
    border-bottom: 1px solid #e0e0e0;
}

.schedule-track:last-child {
    border-bottom: none;
}

.track-title {
    padding: 12px 20px;
    background: #f9f9f9;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-session {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.schedule-session:last-child {
    border-bottom: none;
}

.schedule-session:hover {
    background: #fafafa;
}

/* Session types */
.schedule-session.session-type-keynote {
    border-left: 4px solid #e74c3c;
}

.schedule-session.session-type-workshop {
    border-left: 4px solid #3498db;
}

.schedule-session.session-type-break {
    border-left: 4px solid #95a5a6;
    background: #f9f9f9;
}

.schedule-session.session-type-networking {
    border-left: 4px solid #e67e22;
}

.schedule-session.session-type-session {
    border-left: 4px solid #2ecc71;
}

.session-time {
    flex-shrink: 0;
    width: 120px;
    font-weight: 600;
    color: #667eea;
    padding-top: 2px;
}

.session-details {
    flex: 1;
}

.session-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.session-speakers {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
}

.speaker-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #667eea;
}

.speaker-info {
    flex: 1;
}

.speaker-label {
    font-weight: 600;
}

.session-location {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.location-icon {
    margin-right: 5px;
}

.session-description {
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}

.session-capacity {
    margin-top: 10px;
    color: #999;
}

/* Attendee Directory */
.eventhub-attendee-directory {
    margin: 20px 0;
}

.eventhub-attendee-directory h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.eventhub-no-attendees {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

.eventhub-no-attendees p {
    font-size: 18px;
    margin: 0;
}

.no-attendees-message {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

.attendee-search {
    margin-bottom: 30px;
}

.attendee-search input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.attendee-search input:focus {
    outline: none;
    border-color: #667eea;
}

.attendee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.attendee-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attendee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.attendee-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}

.attendee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attendee-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.attendee-name {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
}

.attendee-title {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 3px;
}

.attendee-company {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.attendee-bio {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin-top: 10px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .event-item {
        flex-direction: column;
    }
    
    .event-date {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .date-month,
    .date-day {
        display: inline-block;
    }
    
    .date-day {
        font-size: 24px;
    }
    
    .eventhub-schedule-filters {
        flex-direction: column;
    }
    
    .filter-group select,
    .filter-group input[type="text"] {
        width: 100%;
        min-width: unset;
    }
    
    .schedule-session {
        flex-direction: column;
    }
    
    .session-time {
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 10px;
    }
    
    .attendee-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .eventhub-search-input {
        font-size: 14px;
        padding: 12px 45px 12px 15px;
    }
    
    .eventhub-event-search-box .search-icon {
        right: 15px;
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .attendee-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility classes */
.eventhub-loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.eventhub-error {
    padding: 20px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    color: #c33;
}

.eventhub-success {
    padding: 20px;
    background: #efe;
    border: 1px solid #cfc;
    border-radius: 4px;
    color: #3c3;
}

/* Event Modal */
.eventhub-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.eventhub-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.eventhub-modal-content {
    position: relative;
    max-width: 800px;
    max-height: 90vh;
    margin: 5vh auto;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.eventhub-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 5px 10px;
}

.eventhub-modal-close:hover {
    color: #333;
}

/* Single Event Display */
.eventhub-single-event {
    padding: 20px 0;
}

.event-header h2 {
    margin: 0 0 20px;
    font-size: 32px;
    color: #333;
}

.event-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.meta-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.meta-icon {
    font-size: 24px;
}

.meta-item strong {
    display: block;
    margin-bottom: 5px;
    color: #667eea;
}

.event-description {
    margin: 30px 0;
    line-height: 1.8;
    color: #555;
}

/* WordPress image alignment classes for event description content */
.event-description .alignleft,
.event-description img.alignleft {
    float: left !important;
    margin: 0 20px 15px 0 !important;
    display: block;
}

.event-description .alignright,
.event-description img.alignright {
    float: right !important;
    margin: 0 0 15px 20px !important;
    display: block;
}

.event-description .aligncenter,
.event-description img.aligncenter {
    display: block !important;
    float: none !important;
    margin: 15px auto !important;
    text-align: center;
}

/* Gutenberg block image alignment */
.event-description .wp-block-image.alignleft,
.event-description figure.alignleft {
    float: left !important;
    margin: 0 20px 15px 0 !important;
    max-width: 50%;
}

.event-description .wp-block-image.alignright,
.event-description figure.alignright {
    float: right !important;
    margin: 0 0 15px 20px !important;
    max-width: 50%;
}

.event-description .wp-block-image.aligncenter,
.event-description figure.aligncenter {
    display: block !important;
    float: none !important;
    margin: 15px auto !important;
    text-align: center;
}

.event-description figure {
    margin: 0;
}

.event-description figure img {
    max-width: 100%;
    height: auto;
}

.event-description img {
    max-width: 100%;
    height: auto;
}

/* Clear floats after description */
.event-description::after {
    content: '';
    display: table;
    clear: both;
}

.event-sessions-preview {
    margin: 30px 0;
    padding: 20px;
    background: #f5f5f5;
    border-left: 4px solid #667eea;
}

.event-sessions-preview h3 {
    margin-top: 0;
}

.event-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.eventhub-membership-note {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.eventhub-membership-note a {
    color: #667eea;
    text-decoration: underline;
}

.eventhub-membership-note a:hover {
    color: #4a5fd0;
}

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.button-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.button-secondary:hover {
    background: #667eea;
    color: #fff;
}

/* ==================== PHASE 2 STYLES ==================== */

/* Session Registration Buttons */
.session-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.session-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.session-favorite-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #fff;
    border: 2px solid #667eea;
    border-radius: 20px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.session-favorite-btn:hover:not(.full) {
    background: #667eea;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.session-favorite-btn.favorited {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #764ba2;
    color: #fff;
}

.session-favorite-btn.favorited .dashicons {
    color: #ffd700;
}

.session-favorite-btn.full {
    background: #f0f0f0;
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
}

.session-favorite-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Login Required Message */
.session-actions.login-required {
    margin-top: 10px;
}

.session-actions .login-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 20px;
    margin: 0;
    font-size: 14px;
}

.session-actions .login-message .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #666;
}

.session-actions .login-message .login-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.session-actions .login-message .login-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.session-capacity small {
    color: #666;
    font-size: 13px;
}

/* My Agenda Styles */
.eventhub-my-agenda {
    margin: 20px 0;
}

.my-agenda-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #667eea;
}

.my-agenda-header h2 {
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
}

.agenda-count {
    color: #666;
    font-size: 16px;
}

.no-sessions {
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-sessions p {
    margin: 10px 0;
    color: #666;
}

.view-schedule-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.view-schedule-link:hover {
    color: #764ba2;
}

.agenda-day {
    margin-bottom: 30px;
}

.agenda-day-title {
    margin-bottom: 15px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 20px;
    border-radius: 5px;
}

.agenda-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.agenda-session-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #667eea;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.agenda-session-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.agenda-session-item .session-time {
    flex-shrink: 0;
    width: 120px;
    font-weight: 600;
    color: #667eea;
}

.agenda-session-item .session-details {
    flex: 1;
}

.agenda-session-item .session-title {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.agenda-session-item .session-location,
.agenda-session-item .session-speakers {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.agenda-session-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.agenda-session-item .session-track {
    display: inline-block;
    padding: 4px 12px;
    margin-top: 8px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.agenda-session-item .session-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.checked-in-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #4caf50;
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.unregister-btn {
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unregister-btn:hover {
    background: #f44336;
    border-color: #f44336;
    color: #fff;
}

/* Profile Styles */
.eventhub-user-profile {
    margin: 20px 0;
    max-width: 800px;
}

.profile-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #667eea;
}

.profile-header h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

.profile-form {
    background: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.profile-photo-section {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.photo-preview {
    flex-shrink: 0;
}

.photo-preview img,
.photo-preview .no-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.photo-preview .no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.photo-preview .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: #ccc;
}

.photo-upload {
    flex: 1;
}

.upload-photo-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-photo-btn:hover {
    background: #764ba2;
    transform: translateY(-1px);
}

.help-text {
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

.profile-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group.full-width {
    grid-column: 1 / -1;
}

.field-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.field-group input,
.field-group textarea {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.field-group input:focus,
.field-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.profile-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.save-profile-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.profile-message {
    font-size: 14px;
}

.profile-message .success {
    color: #4caf50;
}

.profile-message .error {
    color: #f44336;
}

/* Attendee Profile Card */
.eventhub-attendee-profile {
    margin: 20px 0;
}

.profile-card {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.profile-card .profile-photo {
    flex-shrink: 0;
}

.profile-card .profile-photo img,
.profile-card .profile-photo .no-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-card .profile-photo .no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.profile-card .profile-photo .dashicons {
    font-size: 100px;
    width: 100px;
    height: 100px;
    color: #ccc;
}

.profile-info {
    flex: 1;
}

.profile-name {
    margin: 0 0 10px;
    font-size: 32px;
    color: #333;
}

.profile-position {
    margin-bottom: 15px;
    font-size: 18px;
    color: #666;
}

.profile-position .company {
    color: #667eea;
}

.profile-bio {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #667eea;
    border-radius: 3px;
    line-height: 1.6;
    color: #555;
}

.profile-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #667eea;
    color: #fff;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

/* Messages and Notifications */
/* Centered notification messages container */
.eventhub-messages {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
}

.eventhub-success,
.eventhub-error {
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.eventhub-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.eventhub-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-fields {
        grid-template-columns: 1fr;
    }
    
    .profile-photo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .agenda-session-item {
        flex-direction: column;
    }
    
    .agenda-session-item .session-time {
        width: auto;
    }
    
    .agenda-session-item .session-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

/* ====================
   PHASE 3: ENGAGEMENT FEATURES
   ==================== */

/* Messages Page */
.eventhub-messages-page {
    max-width: 1200px;
    margin: 0 auto;
}

.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    min-height: 600px;
}

.conversations-sidebar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.conversations-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.conversation-item:hover {
    background: #e9ecef;
}

.conv-avatar img,
.conv-avatar .avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.avatar-placeholder {
    background: #007cba;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.conv-info {
    flex: 1;
}

.conv-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
}

.conv-preview {
    margin: 0;
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unread-count {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.message-thread {
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.no-conversation-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

.thread-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.messages-list {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 450px;
}

.message-item {
    margin-bottom: 15px;
    display: flex;
}

.message-item.sent {
    justify-content: flex-end;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    background: #e9ecef;
}

.message-item.sent .message-content {
    background: #007cba;
    color: white;
}

.message-content p {
    margin: 0 0 4px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
}

.message-composer {
    padding: 15px;
    border-top: 1px solid #ddd;
}

.message-composer textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    margin-bottom: 10px;
}

/* Networking Page */
.eventhub-networking-page {
    max-width: 1200px;
    margin: 0 auto;
}

.networking-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #007cba;
}

.tab-btn.active {
    color: #007cba;
    border-bottom-color: #007cba;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.connections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.attendee-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.attendee-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.attendee-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.attendee-avatar img,
.attendee-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.attendee-card h4 {
    margin: 0 0 5px;
    font-size: 16px;
}

.attendee-title {
    margin: 0 0 3px;
    font-size: 13px;
    color: #666;
}

.attendee-company {
    margin: 0 0 15px;
    font-size: 13px;
    color: #888;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.request-info h4 {
    margin: 0 0 5px;
}

.request-message {
    font-style: italic;
    color: #666;
    margin: 10px 0;
}

.request-actions {
    display: flex;
    gap: 10px;
}

/* Polls Page */
.eventhub-polls-page {
    max-width: 1000px;
    margin: 0 auto;
}

.polls-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.poll-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.poll-item h3 {
    margin: 0 0 20px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.poll-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.poll-option label:hover {
    background: #f8f9fa;
}

.poll-result {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-label {
    flex: 0 0 150px;
}

.result-bar {
    flex: 1;
    height: 30px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.result-fill {
    height: 100%;
    background: #007cba;
    transition: width 0.3s;
}

.result-percentage {
    flex: 0 0 50px;
    text-align: right;
    font-weight: bold;
}

.vote-status {
    color: #666;
    font-size: 14px;
}

/* Q&A Page */
.eventhub-qa-page {
    max-width: 1000px;
    margin: 0 auto;
}

.qa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.question-form {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.question-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
}

.question-item.featured {
    border-color: #ffc107;
    border-width: 2px;
}

.question-vote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.upvote-btn {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.upvote-btn:hover {
    background: #e0e0e0;
}

.upvote-btn.upvoted {
    background: #007cba;
    color: white;
}

.vote-count {
    font-weight: bold;
    font-size: 16px;
}

.question-content {
    flex: 1;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.question-header h4 {
    margin: 0;
    flex: 1;
}

.answered-badge {
    background: #28a745;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.question-meta {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.answers-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.toggle-answers-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.answer-question-btn {
    margin-top: 10px;
    padding: 8px 15px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Activity Feed */
.eventhub-activity-feed {
    max-width: 1000px;
    margin: 0 auto;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.post-form {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.post-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 12px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon.blue { background: #007cba20; color: #007cba; }
.activity-icon.green { background: #28a74520; color: #28a745; }
.activity-icon.yellow { background: #ffc10720; color: #ffc107; }
.activity-icon.purple { background: #6f42c120; color: #6f42c1; }
.activity-icon.gray { background: #6c757d20; color: #6c757d; }

.activity-content p {
    margin: 0 0 5px;
}

.activity-time {
    font-size: 12px;
    color: #666;
}

.load-more {
    width: 100%;
    margin-top: 20px;
}

/* Engagement Hub */
.eventhub-engagement-hub {
    max-width: 1200px;
    margin: 0 auto;
}

.hub-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    flex-wrap: wrap;
}

.hub-tab {
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.hub-tab:hover {
    color: #007cba;
}

.hub-tab.active {
    color: #007cba;
    border-bottom-color: #007cba;
}

.hub-panel {
    display: none;
}

.hub-panel.active {
    display: block;
}

/* Buttons */
.eventhub-btn {
    background: #007cba;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.eventhub-btn:hover {
    background: #005a87;
}

.eventhub-btn-secondary {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.eventhub-btn-secondary:hover {
    background: #545b62;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Enhanced Speaker Cards - Left Aligned */
.session-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
    align-items: flex-start;
}

.speaker-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    flex: 0 0 auto;
    max-width: 300px;
    transition: all 0.3s ease;
}

/* Clickable speaker cards */
.speaker-card.clickable-speaker {
    cursor: pointer;
    position: relative;
}

.speaker-card.clickable-speaker:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    border-left-color: #764ba2;
}

.speaker-card.clickable-speaker:active {
    transform: translateY(0);
}

.speaker-card.clickable-speaker::after {
    content: '\f345'; /* dashicons-visibility */
    font-family: dashicons;
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-card.clickable-speaker:hover::after {
    opacity: 1;
}

.speaker-card .speaker-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
    flex-shrink: 0;
}

.speaker-photo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid #667eea;
}

.speaker-photo-placeholder .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: white;
}

.speaker-card .speaker-info {
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

.speaker-card .speaker-name {
    font-weight: 700;
    font-size: 15px;
    color: #333;
    margin-bottom: 3px;
    line-height: 1.3;
}

.speaker-card.clickable-speaker .speaker-name {
    color: #667eea;
}

.speaker-card .speaker-title {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Speaker Modal */
.eventhub-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.eventhub-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.eventhub-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.eventhub-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.eventhub-modal-close:hover {
    background: #f0f0f0;
}

.eventhub-modal-close .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #666;
}

.eventhub-modal-close:hover .dashicons {
    color: #333;
}

/* Speaker Modal Content */
.speaker-modal-content {
    padding: 30px;
}

.speaker-modal-header {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.speaker-modal-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.speaker-modal-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 4px solid #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.speaker-modal-photo-placeholder .dashicons {
    font-size: 70px;
    width: 70px;
    height: 70px;
    color: white;
}

.speaker-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.speaker-modal-name {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.speaker-modal-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.speaker-modal-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.speaker-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid transparent;
}

.speaker-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.speaker-social-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.social-label {
    line-height: 1;
}

/* LinkedIn Styling */
.social-linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.social-linkedin:hover {
    background: #005582;
    border-color: #005582;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.social-linkedin .dashicons {
    color: white;
}

/* Twitter/X Styling */
.social-twitter {
    background: #000000;
    color: white;
    border-color: #000000;
}

.social-twitter:hover {
    background: #333333;
    border-color: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-twitter .dashicons {
    color: white;
}

/* Website Styling */
.social-website {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.social-website:hover {
    background: #764ba2;
    border-color: #764ba2;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.social-website .dashicons {
    color: white;
}

/* Email Styling */
.social-email {
    background: #34a853;
    color: white;
    border-color: #34a853;
}

.social-email:hover {
    background: #2d8e47;
    border-color: #2d8e47;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

.social-email .dashicons {
    color: white;
}
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.speaker-modal-bio {
    margin-top: 20px;
}

.speaker-modal-bio h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.speaker-modal-bio p {
    margin: 0 0 15px 0;
    line-height: 1.7;
    color: #555;
    font-size: 15px;
}

.speaker-modal-bio p:last-child {
    margin-bottom: 0;
}

/* Modal Loading State */
.eventhub-modal-loading {
    padding: 60px 30px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

.eventhub-modal-loading .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #667eea;
    margin-bottom: 15px;
}

.eventhub-modal-loading .dashicons.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Modal Error State */
.eventhub-modal-error {
    padding: 60px 30px;
    text-align: center;
    color: #d63638;
    font-size: 16px;
}

.eventhub-modal-error .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #d63638;
    margin-bottom: 15px;
}

.speaker-card .speaker-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.speaker-card .speaker-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 10px 0;
}

.speaker-card .speaker-bio p {
    margin: 8px 0;
}

.speaker-card .speaker-bio p:first-child {
    margin-top: 0;
}

.speaker-card .speaker-bio p:last-child {
    margin-bottom: 0;
}

.speaker-card .speaker-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.speaker-card .speaker-social a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.speaker-card .speaker-social a:hover {
    color: #764ba2;
    transform: translateY(-2px);
}

.speaker-card .speaker-social .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr;
    }
    
    .conversations-sidebar {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .connections-grid {
        grid-template-columns: 1fr;
    }
    
    /* Speaker cards remain left-aligned but stack vertically on mobile */
    .session-speakers {
        flex-direction: column;
    }
    
    .speaker-card {
        max-width: 100%;
    }
    
    .speaker-card .speaker-photo,
    .speaker-photo-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .speaker-photo-placeholder .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    
    .speaker-card .speaker-name {
        font-size: 14px;
    }
    
    .speaker-card .speaker-title {
        font-size: 12px;
    }
    
    /* Speaker Modal Responsive */
    .eventhub-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 8px;
    }
    
    .speaker-modal-content {
        padding: 20px;
    }
    
    .speaker-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .speaker-modal-photo,
    .speaker-modal-photo-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .speaker-modal-photo-placeholder .dashicons {
        font-size: 50px;
        width: 50px;
        height: 50px;
    }
    
    .speaker-modal-name {
        font-size: 24px;
    }
    
    .speaker-modal-title {
        font-size: 14px;
    }
    
    .speaker-modal-social {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .speaker-social-link {
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .eventhub-modal-close {
        top: 10px;
        right: 10px;
    }
}


/* My Registrations Shortcode */
.eventhub-my-registrations {
    margin: 30px 0;
}

.eventhub-my-registrations h2 {
    margin-bottom: 25px;
    font-size: 28px;
    color: #333;
}

.registrations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registration-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.registration-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.registration-item.past-event {
    opacity: 0.7;
    border-color: #ddd;
}

.registration-event-info {
    flex: 1;
}

.registration-item .event-title {
    margin: 0 0 12px;
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

.registration-item .event-dates,
.registration-item .event-venue {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    color: #666;
    font-size: 15px;
}

.registration-item .dashicons {
    color: #667eea;
    font-size: 18px;
}

.registration-status {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.status-badge,
.event-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    background: #e7f3ff;
    color: #2271b1;
}

.status-registered {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.event-badge {
    background: #f0f0f0;
    color: #666;
}

.upcoming-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.past-badge {
    background: #e0e0e0;
    color: #888;
}

.registration-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
}

.registration-actions .event-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.registration-actions .event-link:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.registration-actions .agenda-link {
    background: #764ba2;
}

.registration-actions .agenda-link:hover {
    background: #653a8a;
}

.eventhub-no-registrations {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 10px;
}

.eventhub-no-registrations p {
    margin: 0;
    font-size: 18px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .registration-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .registration-actions {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .registration-actions .event-link {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================
   Exhibitors and Sponsors Card Styles
   ============================================ */

/* Exhibitors Grid Layout */
.eventhub-exhibitors-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.eventhub-exhibitors-search {
    text-align: center;
    margin-bottom: 30px;
}

.eventhub-exhibitors-search-input {
    max-width: 500px;
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.eventhub-exhibitors-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.eventhub-exhibitors-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.eventhub-exhibitors {
    display: grid;
    gap: 30px;
    margin: 30px auto;
    justify-content: center;
}

.eventhub-exhibitors-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    justify-content: center;
}

.eventhub-exhibitors-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    justify-content: center;
}

.eventhub-exhibitors-cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    justify-content: center;
}

/* Exhibitor Card */
.eventhub-exhibitor-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
}

.eventhub-exhibitor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.exhibitor-logo {
    text-align: center;
    margin-bottom: 20px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exhibitor-logo img {
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.exhibitor-name {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.exhibitor-booth {
    text-align: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.exhibitor-description {
    flex-grow: 1;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.exhibitor-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.exhibitor-website-btn,
.exhibitor-detail-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.exhibitor-website-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.exhibitor-website-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.exhibitor-detail-btn {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.exhibitor-detail-btn:hover {
    background: #667eea;
    color: #fff;
}

/* Sponsors Section */
.eventhub-sponsors {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.sponsor-tier {
    margin-bottom: 50px;
}

.sponsor-tier-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.sponsor-tier-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

.sponsor-tier-platinum .sponsor-tier-title::after {
    background: linear-gradient(90deg, #c0c0c0, #e5e5e5, #c0c0c0);
}

.sponsor-tier-gold .sponsor-tier-title::after {
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
}

.sponsor-tier-silver .sponsor-tier-title::after {
    background: linear-gradient(90deg, #c0c0c0, #e5e5e5, #c0c0c0);
}

.sponsor-tier-bronze .sponsor-tier-title::after {
    background: linear-gradient(90deg, #cd7f32, #e9a560, #cd7f32);
}

/* Custom sponsor tiers (v6.9.8) — displayed below metallic tiers */
.sponsor-tier-custom .sponsor-tier-title::after {
    background: linear-gradient(90deg, #5b9bd5, #7ec4f0, #5b9bd5);
}

.sponsor-tier-custom .sponsor-tier-title {
    font-size: 24px;
    color: #2c5f8a;
}

.sponsor-tier-logos {
    display: grid;
    gap: 30px;
    justify-content: center;
}

.sponsor-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    justify-content: center;
}

.sponsor-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    justify-content: center;
}

.sponsor-cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    justify-content: center;
}

/* Sponsor Card */
.sponsor-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.sponsor-logo {
    text-align: center;
    margin-bottom: 20px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sponsor-logo img {
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-name {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: #333;
    text-align: center;
    font-weight: 600;
}

.sponsor-description {
    flex-grow: 1;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.sponsor-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.sponsor-website-btn,
.sponsor-detail-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.sponsor-website-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.sponsor-website-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.sponsor-detail-btn {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.sponsor-detail-btn:hover {
    background: #667eea;
    color: #fff;
}

/* Modal Styles for Detail Views */
#eventhubDetailModal.eventhub-modal-overlay {
    display: none;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

#eventhubDetailModal.eventhub-modal-overlay.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#eventhubDetailModal .eventhub-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    margin: 0;
    top: auto;
    left: auto;
    transform: none;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#eventhubDetailModal .eventhub-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#eventhubDetailModal .eventhub-modal-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

#eventhubDetailModal .eventhub-exhibitor-detail-modal,
#eventhubDetailModal .eventhub-sponsor-detail-modal {
    padding: 40px;
}

#eventhubDetailModal .exhibitor-banner,
#eventhubDetailModal .sponsor-banner {
    margin: -40px -40px 30px -40px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    max-height: 250px;
}

#eventhubDetailModal .exhibitor-banner img,
#eventhubDetailModal .sponsor-banner img {
    width: 100%;
    height: auto;
    display: block;
}

#eventhubDetailModal .exhibitor-header,
#eventhubDetailModal .sponsor-header {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    align-items: start;
}

#eventhubDetailModal .exhibitor-logo-large,
#eventhubDetailModal .sponsor-logo-large {
    flex-shrink: 0;
}

#eventhubDetailModal .exhibitor-logo-large img,
#eventhubDetailModal .sponsor-logo-large img {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#eventhubDetailModal .exhibitor-info h2,
#eventhubDetailModal .sponsor-info h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
    color: #333;
}

#eventhubDetailModal .exhibitor-booth-large,
#eventhubDetailModal .exhibitor-category {
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 14px;
}

#eventhubDetailModal .sponsor-tier-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

#eventhubDetailModal .sponsor-tier-badge.sponsor-tier-platinum {
    background: linear-gradient(135deg, #c0c0c0, #e5e5e5);
}

#eventhubDetailModal .sponsor-tier-badge.sponsor-tier-gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

#eventhubDetailModal .sponsor-tier-badge.sponsor-tier-silver {
    background: linear-gradient(135deg, #c0c0c0, #e5e5e5);
    color: #333;
}

#eventhubDetailModal .sponsor-tier-badge.sponsor-tier-bronze {
    background: linear-gradient(135deg, #cd7f32, #e9a560);
}

#eventhubDetailModal .sponsor-tier-badge.sponsor-tier-custom {
    background: linear-gradient(135deg, #5b9bd5, #7ec4f0);
    color: #fff;
}

#eventhubDetailModal .exhibitor-description-full,
#eventhubDetailModal .sponsor-description-full {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
}

#eventhubDetailModal .exhibitor-contact,
#eventhubDetailModal .sponsor-contact {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

#eventhubDetailModal .exhibitor-contact h3,
#eventhubDetailModal .sponsor-contact h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #333;
}

#eventhubDetailModal .exhibitor-contact p,
#eventhubDetailModal .sponsor-contact p {
    margin: 10px 0;
    color: #555;
}

#eventhubDetailModal .exhibitor-contact a,
#eventhubDetailModal .sponsor-contact a {
    color: #667eea;
    text-decoration: none;
}

#eventhubDetailModal .exhibitor-contact a:hover,
#eventhubDetailModal .sponsor-contact a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .eventhub-exhibitors-cols-2,
    .eventhub-exhibitors-cols-3,
    .eventhub-exhibitors-cols-4,
    .sponsor-cols-2,
    .sponsor-cols-3,
    .sponsor-cols-4 {
        grid-template-columns: 1fr;
    }
    
    #eventhubDetailModal .eventhub-exhibitor-detail-modal,
    #eventhubDetailModal .eventhub-sponsor-detail-modal {
        padding: 20px;
    }
    
    #eventhubDetailModal .exhibitor-banner,
    #eventhubDetailModal .sponsor-banner {
        margin: -20px -20px 20px -20px;
    }
    
    #eventhubDetailModal .exhibitor-header,
    #eventhubDetailModal .sponsor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    #eventhubDetailModal .exhibitor-logo-large img,
    #eventhubDetailModal .sponsor-logo-large img {
        max-width: 150px;
    }
}

/* Session Documents Styles */
.session-documents {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #2196F3;
}

.session-documents-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.session-documents-title .dashicons {
    color: #2196F3;
    font-size: 18px;
}

.session-documents-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.session-document-item {
    margin: 8px 0;
}

.session-document-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.session-document-link:hover {
    background: #f0f4f8;
    border-color: #2196F3;
    color: #2196F3;
    transform: translateX(3px);
}

.session-document-link .dashicons {
    font-size: 20px;
    color: #2196F3;
}

.session-document-link .document-title {
    flex: 1;
    font-weight: 500;
}

.session-document-link .document-meta {
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .session-document-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .session-document-link .document-meta {
        align-self: flex-start;
    }
}

/* ==============================================
   Calendar Button Styles
   ============================================== */

/* Calendar button in session actions */
.session-actions .eventhub-calendar-button-simple {
    margin-left: 10px;
    padding: 8px 14px;
    font-size: 13px;
}

.session-actions .eventhub-calendar-button-simple .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Calendar dropdown in agenda actions */
.agenda-actions .eventhub-calendar-dropdown {
    display: inline-block;
}

.agenda-actions .eventhub-calendar-button {
    padding: 10px 18px;
    font-size: 15px;
}

/* Make session actions wrap better on mobile */
@media (max-width: 768px) {
    .session-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .session-actions .eventhub-calendar-button-simple {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    
    .my-agenda-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .agenda-actions {
        margin-top: 15px;
    }
}

/* Calendar button hover states */
.eventhub-calendar-button-simple:hover,
.eventhub-calendar-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Ensure proper spacing in agenda items */
.agenda-session-item .session-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ============================================ */
/* Landscape Event Cards (v7.0.0)               */
/* Matches GathRound homepage design system     */
/* ============================================ */
.eventhub-landscape-events {
    max-width: 960px;
    margin: 0 auto;
}

.eventhub-landscape-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.eventhub-landscape-subheading {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 32px 0;
}

.eventhub-landscape-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.eventhub-landscape-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.eventhub-landscape-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.eventhub-landscape-card-link {
    display: block;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.eventhub-landscape-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.eventhub-landscape-logo {
    margin-bottom: 16px;
    text-align: center;
}

.eventhub-landscape-logo img {
    max-width: 120px;
    max-height: 70px;
    object-fit: contain;
}

.eventhub-landscape-status {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.eventhub-landscape-status.status-upcoming {
    color: #2563eb;
}

.eventhub-landscape-status.status-live {
    color: #16a34a;
}

.eventhub-landscape-status.status-past {
    color: #94a3b8;
}

.eventhub-landscape-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    margin-left: 4px;
    animation: eventhub-pulse 1.5s infinite;
}

@keyframes eventhub-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.eventhub-landscape-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.eventhub-landscape-card:hover .eventhub-landscape-title {
    color: #2563eb;
}

.eventhub-landscape-venue {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.eventhub-landscape-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

.eventhub-landscape-actions {
    text-align: center;
    margin-top: 32px;
}

.eventhub-landscape-view-all {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.eventhub-landscape-view-all:hover {
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive: stack on tablet and below */
@media (max-width: 768px) {
    .eventhub-landscape-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .eventhub-landscape-heading {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .eventhub-landscape-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
