/* Custom CSS for ICP 2026 Congress Registration */

/* Global Text Selection Fix */
* {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Bootstrap Override for Text Selection - Highest Priority */
.alert, .alert *, .btn, .btn *, .card, .card *, .table, .table *, 
.container, .container *, .row, .row *, .col-12, .col-12 *,
.icp2026-alert, .icp2026-alert *, .icp2026-registration-container, .icp2026-registration-container *,
h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
.icp2026-section-title, .icp2026-section-title *,
.icp2026-card-header, .icp2026-card-header *,
.icp2026-hotel-name, .icp2026-hotel-name *,
div, span, p, strong, em, b, i, u, a, li, td, th, tbody, thead, tfoot {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Remove any overlays that might block text selection */
.alert::before, .alert::after, .card::before, .card::after, 
.icp2026-alert::before, .icp2026-alert::after,
.icp2026-card-header::before, .icp2026-card-header::after,
h1::before, h1::after, h2::before, h2::after, h3::before, h3::after, h4::before, h4::after, h5::before, h5::after, h6::before, h6::after {
    pointer-events: none !important;
    display: none !important;
}


.icp2026-modern-policy-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.icp2026-modern-policy-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.icp2026-modern-policy-header {
    background: #4f46e5;
    color: white;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.icp2026-modern-policy-header i {
    font-size: 1.3rem;
    margin-right: 0.75rem;
}

.icp2026-modern-policy-info {
    background: #dbeafe;
    color: #1e40af;
    padding: 1.25rem 2rem;
    border-left: 4px solid #3b82f6;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin: 0;
}

.icp2026-modern-policy-info i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.icp2026-modern-policy-content {
    padding: 1.5rem 2rem 2rem;
    background: #fafafa;
}

.icp2026-policy-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border-radius: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.icp2026-policy-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.icp2026-policy-item:last-child {
    margin-bottom: 0;
}

.icp2026-policy-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 600;
}

.icp2026-policy-icon i{
	margin-right: 0 !important;
}

.icp2026-policy-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
}

.icp2026-policy-text strong {
    color: #1f2937;
    font-weight: 600;
}

/* Success Policy Item */
.icp2026-policy-success {
    border-left: 4px solid #10b981;
}

.icp2026-policy-success .icp2026-policy-icon {
    background: #d1fae5;
    color: #059669;
}

/* Warning Policy Item */
.icp2026-policy-warning {
    border-left: 4px solid #f59e0b;
}

.icp2026-policy-warning .icp2026-policy-icon {
    background: #fef3c7;
    color: #d97706;
}

/* Danger Policy Item */
.icp2026-policy-danger {
    border-left: 4px solid #ef4444;
}

.icp2026-policy-danger .icp2026-policy-icon {
    background: #fecaca;
    color: #dc2626;
}

/* Responsive Design for Modern Policy Cards */
@media (max-width: 768px) {
    .icp2026-modern-policy-header {
        padding: 1.25rem 1.5rem;
        font-size: 1.125rem;
    }
    
    .icp2026-modern-policy-info {
        padding: 1rem 1.5rem;
    }
    
    .icp2026-modern-policy-content {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .icp2026-policy-item {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .icp2026-policy-icon {
        width: 20px;
        height: 20px;
        margin-right: 0.75rem;
        font-size: 0.875rem;
    }
    
    .icp2026-policy-text {
        font-size: 0.875rem;
    }
}

/* ICP 2026 Registration Container */
.icp2026-registration-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--icp2026-dark-color);
    box-sizing: border-box;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.icp2026-registration-container *,
.icp2026-registration-container *::before,
.icp2026-registration-container *::after {
    box-sizing: border-box;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Bootstrap Alert Override */
.alert {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.alert * {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

:root {
    --icp2026-primary-color: #2563eb;
    --icp2026-secondary-color: #3b82f6;
    --icp2026-accent-color: #10b981;
    --icp2026-success-color: #059669;
    --icp2026-warning-color: #f59e0b;
    --icp2026-info-color: #06b6d4;
    --icp2026-light-color: #f8fafc;
    --icp2026-dark-color: #1e293b;
    --icp2026-gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --icp2026-gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --icp2026-gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --icp2026-shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --icp2026-shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --icp2026-shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}



/* ICP 2026 Header Styles */
.icp2026-header {
    background: var(--icp2026-gradient-primary);
    box-shadow: var(--icp2026-shadow-lg);
    position: relative;
    overflow: hidden;
}

.icp2026-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.icp2026-header-content {
    position: relative;
    z-index: 2;
}

.icp2026-title {
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.icp2026-lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
}

/* ICP 2026 Section Titles */
.icp2026-section-title {
    color: #1f2937;
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #e5e7eb;
    position: relative;
    letter-spacing: -0.02em;
    display: inline-block;
    width: auto;
}

.icp2026-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #4f46e5;
    border-radius: 2px;
}

.icp2026-section-title i {
    color: #4f46e5;
    margin-right: 0.75rem;
}

/* ICP 2026 Card Enhancements */
.icp2026-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--icp2026-shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: white;
}

.icp2026-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--icp2026-shadow-lg);
}

.icp2026-card-header {
    font-weight: 600;
    border-bottom: none;
    padding: 1.5rem 2rem;
    background: #4f46e5;
    color: white;
    position: relative;
    font-size: 1.125rem;
}

.icp2026-card-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.icp2026-card-header i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.icp2026-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 0v40M0 20h40'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

/* Price Cards */
.price-card {
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.price-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Table Enhancements */
.table {
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0;
}

.table-hover tbody tr {
    transition: all 0.3s ease;
}

.table-hover tbody tr:hover {
    background: linear-gradient(90deg, rgba(26,35,126,0.05), rgba(63,81,181,0.05));
    transform: translateX(4px);
}

.table td {
    vertical-align: middle;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
}

.table td:first-child {
    font-weight: 600;
}

.table td.fw-bold {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ICP 2026 Modern Registration Table */
.icp2026-registration-table-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.icp2026-modern-table {
    margin: 0;
    font-size: 0.95rem;
}

.icp2026-modern-table thead th {
    background: #4f46e5;
    color: white;
    font-weight: 600;
    border: none;
    padding: 1.5rem 1rem;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.icp2026-modern-table thead th.icp2026-success-header {
    background: var(--icp2026-gradient-primary);
    position: relative;
}

.icp2026-modern-table thead th.icp2026-success-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--icp2026-success-color);
}

.icp2026-modern-table thead th.icp2026-danger-header {
    background: var(--icp2026-gradient-primary);
    position: relative;
}

.icp2026-modern-table thead th.icp2026-danger-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--icp2026-accent-color);
}

.icp2026-participant-category {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.icp2026-participant-category i {
    font-size: 1.1rem;
    width: 20px;
}

.icp2026-price-cell {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.5rem 1rem;
    position: relative;
}

.icp2026-success-price {
    color: var(--icp2026-success-color);
    background: linear-gradient(135deg, rgba(76,175,80,0.1), rgba(76,175,80,0.05));
}

.icp2026-danger-price {
    color: var(--icp2026-accent-color);
    background: linear-gradient(135deg, rgba(255,64,129,0.1), rgba(255,64,129,0.05));
}

.icp2026-modern-table tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.icp2026-modern-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(26,35,126,0.03), rgba(63,81,181,0.03));
    transform: none;
}

.icp2026-modern-table tbody tr:hover .icp2026-price-cell {
    transform: scale(1.05);
}

/* ICP 2026 Animated Badge */
.icp2026-animated-badge {
    animation: icp2026Pulse 2s infinite;
}

@keyframes icp2026Pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ICP 2026 Accommodation Table - Modern Style like Registration Table */
.icp2026-accommodation-table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}
.icp2026-accommodation-table th,
.icp2026-accommodation-table td {
    border: none;
    padding: 1.5rem 1rem;
    vertical-align: middle;
    text-align: center;
}
.icp2026-hotel-name-header {
    background: #4f46e5;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    vertical-align: middle;
    border: none;
}
.icp2026-early-header {
    background: #4f46e5;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    letter-spacing: 0.5px;
    position: relative;
}
.icp2026-early-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #10b981;
}
.icp2026-regular-header {
    background: #4f46e5;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    letter-spacing: 0.5px;
    position: relative;
}
.icp2026-regular-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ef4444;
}
.icp2026-room-type {
    background-color: white;
    font-weight: 600;
    text-align: left;
    border: none;
    color: #333;
    padding: 1.5rem 1rem;
}
.icp2026-accommodation-table .icp2026-price-cell {
    font-weight: 700;
    font-size: 1.1rem;
    background-color: white;
    border: none;
    color: #333;
    padding: 1.5rem 1rem;
}
.icp2026-accommodation-table tbody tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.icp2026-accommodation-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(79,70,229,0.03), rgba(79,70,229,0.03));
}

/* ICP 2026 Alert Styles */
.icp2026-alert {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.5rem;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.icp2026-alert * {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Bootstrap Alert Override */
.alert {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.alert * {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.icp2026-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.icp2026-alert.alert-info {
    background: #f0f9ff;
    color: #1e40af;
    border-left-color: #3b82f6;
}

.icp2026-alert.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left-color: #f59e0b;
}

.icp2026-alert.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left-color: #10b981;
}

.icp2026-alert i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

/* ICP 2026 Main Content */
.icp2026-main {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: 100vh;
    padding: 3rem 0;
}

/* ICP 2026 Registration Container */
.icp2026-registration-container {
    min-height: 100vh;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.icp2026-registration-container .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icp2026-registration-container section {
    width: 100%;
    max-width: 1000px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    bottom: -1.5rem;
    width: 2px;
    background: #dee2e6;
}

.timeline-item:last-child:before {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.timeline-content {
    padding-left: 1rem;
}

/* Remove old alert styles - replaced with ICP 2026 versions */

/* Badge Enhancements */
.badge {
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge Enhancements */
.badge {
    border-radius: 0;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item:before {
        left: -0.75rem;
    }
    
    .timeline-marker {
        left: -1rem;
    }
}

/* ICP 2026 Print Styles */
@media print {
    .icp2026-no-print {
        display: none !important;
    }
    
    .icp2026-card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .icp2026-registration-container .bg-primary,
    .icp2026-registration-container .bg-secondary,
    .icp2026-registration-container .bg-success,
    .icp2026-registration-container .bg-danger,
    .icp2026-registration-container .bg-warning,
    .icp2026-registration-container .bg-info,
    .icp2026-registration-container .bg-dark {
        background-color: #f8f9fa !important;
        color: #333 !important;
    }
    
    .icp2026-registration-container {
        font-size: 12px;
    }
    
    .icp2026-section-title {
        page-break-after: avoid;
    }
    
    .icp2026-card {
        page-break-inside: avoid;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 0;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--warning-color), #f1c40f);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, var(--accent-color), #e74c3c);
}

/* Icon styling */
.fas, .far {
    margin-right: 0.5rem;
}

/* ICP 2026 Card Components */
.icp2026-card {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.icp2026-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.icp2026-card-header {
    background: linear-gradient(135deg, var(--icp2026-primary-color), var(--icp2026-secondary-color));
    color: white;
    padding: 1.5rem;
    border-bottom: none;
    font-weight: 600;
}

/* Enhanced button styles */
.btn {
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Container enhancements */
.container {
    max-width: 1200px;
}

/* Main content styling */
main {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: 100vh;
    padding: 3rem 0;
}

/* Section spacing */
section {
    margin-bottom: 4rem;
}

/* Accommodation table improvements */
.accommodation-table-card {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.accommodation-table-card .table {
    margin: 0;
}

.accommodation-table-card .table thead th {
    background: var(--gradient-secondary);
    color: white;
    font-weight: 700;
    border: none;
    padding: 1.5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

/* Price display enhancements */
.price-display {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* Responsive improvements */
@media (max-width: 768px) {
    .display-4 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .modern-table thead th {
        font-size: 0.75rem;
        padding: 1rem 0.5rem;
    }
    
    .price-cell {
        font-size: 1rem;
        padding: 1rem 0.5rem;
    }
    
    .participant-category {
        font-size: 0.9rem;
    }
    
    .participant-category i {
        font-size: 1rem;
    }
}
