/* Dark mode fixes */
.dark-mode {
    --text-color: #f3f4f6;
    --bg-color: #1f2937;
    --card-bg: #374151;
    --card-text: #f3f4f6;
    --border-color: #4b5563;
}

.light-mode {
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --card-text: #1f2937;
    --border-color: #e5e7eb;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: var(--bg-color);
    color: var(--text-color);
}

body.dark-mode .bg-white {
    background-color: var(--card-bg);
}

body.dark-mode .text-gray-800,
body.dark-mode .text-gray-900 {
    color: var(--card-text);
}

body.dark-mode .bg-gray-100 {
    background-color: #2d3748;
}

body.dark-mode .border-gray-200 {
    border-color: var(--border-color);
}

/* Google Form Container Styling */
.google-form-container {
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.google-form-container:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.google-form-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: none;
    background-color: white;
}

/* Responsive adjustments for the form */
@media (max-width: 768px) {
    .google-form-container {
        height: 500px !important;
    }

    .google-form-container iframe {
        transform: scale(0.9);
        transform-origin: top left;
    }
}

/* Tab styling for workshop forms */
.workshop-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.workshop-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.workshop-tab {
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
}

.workshop-tab.active {
    color: #7e22ce;
    border-bottom: 2px solid #7e22ce;
    background-color: rgba(126, 34, 206, 0.1);
}

.workshop-tab:hover:not(.active) {
    color: #8a7e96;
    background-color: rgba(126, 34, 206, 0.05);
}

.workshop-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

/* Countdown timer styling */
.countdown-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.5rem;
    min-width: 60px;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    background-color: #7e22ce;
    color: white;
    border-radius: 0.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.countdown-label {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: #4b5563;
}

body.dark-mode .countdown-label {
    color: #d1d5db;
}

/* Platform badges */
.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.platform-zoom {
    background-color: #2D8CFF;
    color: white;
}

.platform-teams {
    background-color: #6264A7;
    color: white;
}

.platform-linkedin {
    background-color: #0A66C2;
    color: white;
}

/* Enhanced form styling */
.form-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.form-sidebar {
    position: relative;
    overflow: hidden;
}

.form-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.form-feature {
    transition: transform 0.3s ease;
}

.form-feature:hover {
    transform: translateY(-2px);
}

/* Footer styling fix for dark mode */
.footer-container {
    background-color: #1a1a2e;
}

body.dark-mode .footer-container {
    background-color: #111827;
}