
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f5ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.login-container {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-sidebar {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.login-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJjaXJjbGVzIiB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PGNpcmNsZSBjeD0iMTUwIiBjeT0iMTUwIiByPSIxMDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsIDI1NSwgMjU1LCAwLjEpIiBzdHJva2Utd2lkdGg9IjIiLz48Y2lyY2xlIGN4PSIxNTAiIGN5PSIxNTAiIHI9IjcwIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4xKSIgc3Ryb2tlLXdpZHRoPSIyIi8+PGNpcmNsZSBjeD0iMTUwIiBjeT0iMTUwIiByPSI0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMSkiIHN0cm9rZS13aWR0aD0iMiIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNjaXJjbGVzKSIvPjwvc3ZnPg==');
    opacity: 0.4;
}

.captcha-image {
    background-color: #f8fafc;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.btn-primary {
    background-image: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.2);
}

.text-link {
    color: #2563eb;
    transition: all 0.3s ease;
    font-weight: 500;
}

.text-link:hover {
    color: #1d4ed8;
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    color: #94a3b8;
    transition: color 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.input-with-icon {
    padding-left: 48px;
    transition: all 0.2s ease;
}

.input-with-icon:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.input-without-icon:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.input-with-icon:focus+.input-icon {
    color: #2563eb;
}

/* Input fields with both left icon and right button (like password fields) */
.toggle-password {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
    padding: 4px;
    border: none;
    background: none;
}

.toggle-password:hover {
    color: #64748b;
}

/* Ensure input text doesn't overlap with toggle button */
input[type="password"].input-with-icon {
    padding-right: 48px;
}

.show-password {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
}

.show-password:hover {
    color: #64748b;
}

.form-label {
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
    display: block;
}

.alert {
    border-left: 4px solid;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    position: relative;
    display: inline-block;
}

.sidebar-content {
    position: relative;
    z-index: 10;
}

/* Conference Schedule Date Tabs */
.date-tab {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.date-tab span {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.date-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: currentColor;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.date-tab:hover::before {
  opacity: 0.05;
}

.date-tab .text-xs {
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.date-tab .text-sm {
  font-weight: 500;
}

/* Schedule content transitions */
.schedule-content {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.schedule-content:not(.hidden) {
  animation: fadeIn 0.5s ease forwards;
}

.schedule-content .border-l-4 {
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.schedule-content:not(.hidden) .border-l-4 {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar customization for date tabs container */
.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Date tabs navigation */
.date-tabs-container {
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    position: relative;
}

.date-tabs-container::-webkit-scrollbar {
    display: none;
}

#scroll-left, #scroll-right {
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}

#scroll-left:hover, #scroll-right:hover {
    background-color: #f0f9ff;
    transform: translateY(-50%) scale(1.1);
}

/* Mobile sidebar styles */
.mobile-sidebar {
    width: 100%;
    background-color: #fff;
}

.mobile-sidebar-overlay {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-sidebar-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: none !important;
    }
}

/* Sidebar close button animation */
.sidebar-close-btn {
    transition: transform 0.2s ease;
    width: 48px;
    height: 48px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #abb5c2;
    background-color: rgba(239, 246, 255, 0.7);
}

.sidebar-close-btn:hover {
    transform: rotate(90deg);
    background-color: rgba(239, 246, 255, 1);
}

/* Professional hamburger menu button */
#sidebar-toggle {
    height: 48px;
    width: 48px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#sidebar-toggle:hover {
    transform: translateY(-1px);
}

#sidebar-toggle:active {
    transform: translateY(1px);
}

/* Multi-step registration form styles */
.step-indicator {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-indicator.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.step-indicator.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.step-content {
    display: none;
    animation: fadeInUp 0.5s ease-in-out;
}

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

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

.progress-bar {
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced form input styling */
.input-with-icon:hover {
    border-color: #cbd5e1;
}

.input-with-icon:focus {
    transform: translateY(-1px);
}

/* Button enhancements */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Verification code container animation */
.verification-container {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .login-container {
        border-radius: 15px;
    }
    
    .step-indicator {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .input-with-icon {
        padding: 12px 16px;
        padding-left: 48px;
    }
    
    /* Mobile responsive for password fields with toggle button */
    input[type="password"].input-with-icon {
        padding-right: 48px;
    }
    
    /* Mobile responsive for select elements */
    select.input-with-icon {
        padding-left: 48px;
        padding-right: 40px;
    }
    
    .btn-primary {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Success checkmark animation */
.success-checkmark {
    animation: successPulse 0.8s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Loading spinner for buttons */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading .fa-spin {
    animation: spin 1s linear infinite;
}

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

/* Verification digit input styling */
.verification-digit {
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    caret-color: #3b82f6;
}

.verification-digit:focus {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.verification-digit:hover {
    border-color: #94a3b8;
}

/* Animation for filled digits */
.verification-digit.filled {
    background-color: #f0f9ff;
    border-color: #10b981;
    color: #059669;
}

/* Mobile responsive for verification digits */
@media (max-width: 480px) {
    .verification-digit {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Email display styling */
#sentToEmail {
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

@media (max-width: 480px) {
    #sentToEmail {
        max-width: 180px;
        font-size: 11px;
    }
}

/* Form validation error styling */
.border-red-500 {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    animation: slideDown 0.3s ease-out;
}

.error-message i {
    color: #ef4444;
}

/* Success state for valid fields */
.border-green-500 {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Smooth transitions for form fields */
input, select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure proper positioning for input containers */
.relative {
    position: relative;
}

/* Make sure input text doesn't overlap with icons */
.input-with-icon {
    position: relative;
    z-index: 0;
}

/* Additional spacing for select elements with icons */
select.input-with-icon {
    padding-left: 48px;
    padding-right: 40px; /* Extra space for dropdown arrow */
    appearance: none; /* Remove default styling */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    background-color: white;
}

/* Checkbox error styling */
input[type="checkbox"].border-red-500 {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}