:root {
    --famex-blue: #003366;
    --famex-light-blue: #005b96;
    --famex-gold: #d4af37;
    --famex-gray: #f5f5f5;
    --famex-dark: #333333;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--famex-gray);
    color: var(--famex-dark);
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-header h3 {
    color: var(--famex-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.sidebar-header p {
    color: var(--famex-light-blue);
    font-size: 0.9rem;
}

.nav-item {
    margin-bottom: 5px;
    position: relative;
}

.nav-item.active {
    background-color: rgba(0, 91, 150, 0.1);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--famex-blue);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--famex-dark);
    text-decoration: none;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.day-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--famex-blue);
    margin-right: 10px;
    width: 30px;
    text-align: center;
}

.day-text {
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
}

.program-header {
    background-color: var(--famex-blue);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
    background-image: linear-gradient(135deg, var(--famex-blue) 0%, var(--famex-light-blue) 100%);
}

.program-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.program-header h1 span {
    color: var(--famex-gold);
    font-weight: 600;
}

.program-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Program Container */
.program-container {
    padding: 0 30px 50px;
}

.day-title {
    color: var(--famex-blue);
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--famex-gold);
}

/* Activity Cards */
.activity-row {
    margin-bottom: 20px;
}

.time-box {
    background-color: var(--famex-blue);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.activity-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--famex-blue);
    margin-bottom: 8px;
}

.clickable-activity {
    cursor: pointer;
    transition: color 0.3s;
}

.clickable-activity:hover {
    color: var(--famex-light-blue);
    text-decoration: underline;
}

.activity-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.activity-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.activity-location {
    color: var(--famex-light-blue);
    font-size: 0.9rem;
}

.activity-location i {
    margin-right: 5px;
}

.speaker-info {
    display: flex;
    align-items: center;
}

.speaker-name {
    text-align: right;
    margin-right: 15px;
    font-size: 0.9rem;
    color: var(--famex-dark);
}

.speaker-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--famex-gold);
    transition: transform 0.3s;
}

.speaker-photo:hover {
    transform: scale(1.1);
}

/* Estilos específicos para el modal */
.speaker-modal-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid var(--famex-gold);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.speaker-modal-photo:hover {
    transform: scale(1.05);
}

.modal-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.modal-info-table tr td {
    padding: 12px 15px;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
}

.modal-info-table tr:last-child td {
    border-bottom: none;
}

.modal-info-table td:first-child {
    width: 25%;
    font-weight: 600;
    color: var(--famex-blue);
}

.modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--famex-blue);
    border-color: var(--famex-blue);
}

.btn-primary:hover {
    background-color: var(--famex-light-blue);
    border-color: var(--famex-light-blue);
}

/* Estilos para el modal de múltiples conferencias */
.conference-section {
    border-left: 4px solid var(--famex-blue);
    padding-left: 15px;
    margin-bottom: 30px;
    position: relative;
}

.conference-section:last-child {
    margin-bottom: 0;
}

.conference-time {
    background-color: var(--famex-blue);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 600;
}

.conference-content {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.conference-content h4 {
    color: var(--famex-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.conference-details {
    display: flex;
    gap: 20px;
}

.conference-info {
    flex: 2;
}

.conference-info p {
    margin-bottom: 8px;
}

.conference-info strong {
    color: var(--famex-blue);
    min-width: 100px;
    display: inline-block;
}

.conference-speaker {
    flex: 1;
    text-align: center;
}

.speaker-details {
    margin-top: 10px;
}

.speaker-details h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.speaker-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

/* Estilos para modales sencillos */
.modal-sm .modal-content {
    border-radius: 10px;
}

.modal-sm .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-sm .modal-body {
    padding: 1.5rem;
}

.modal-sm .fa-3x {
    color: #005b96;
}

/* Estilos para conferencias con múltiples ponentes */
.conference-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.conference-speakers .speaker {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.conference-speakers .speaker-modal-photo {
    width: 80px;
    height: 80px;
}

/*mk*/

.watermark {
            position: fixed;
            right: 15px;
            bottom: 15px;
            opacity: 0.85;
            z-index: 9999;
            display: flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            background: rgba(255, 255, 255, 0.92);
            padding: 4px 10px;
            border-radius: 18px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            backdrop-filter: blur(2px); /* Efecto de vidrio (opcional) */
        }

        .watermark:hover {
            opacity: 1;
            transform: scale(1.03);
        }

        .watermark-logo {
            width: clamp(16px, 3vw, 22px); /* Responsivo: entre 16px y 22px */
            height: auto; /* Mantiene proporción */
        }

        .watermark-text {
            font-family: 'Arial', sans-serif;
            font-size: clamp(10px, 2.5vw, 14px); /* Responsivo: entre 10px y 14px */
            color: #333;
            white-space: nowrap; /* Evita saltos de línea */
        }