/* E-commerce Insights Platform Styles */

/* Header Styles */
.insights-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.insights-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.insights-header p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Dashboard Section */
.dashboard-section {
    padding: 80px 0;
    background: #f7fafc;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-card.large {
    grid-column: span 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #f7fafc;
    color: #1a202c;
}

.card-content {
    padding: 1.5rem;
}

.chart-container {
    height: 200px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.chart-loading {
    color: #667eea;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

.chart-placeholder {
    color: #4a5568;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.chart-expanded {
    color: #667eea;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.metric-change.positive {
    background: #c6f6d5;
    color: #22543d;
}

.metric-change.negative {
    background: #fed7d7;
    color: #742a2a;
}

/* Behavior Metrics */
.behavior-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.behavior-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.behavior-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.behavior-info {
    flex: 1;
}

.behavior-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
}

.behavior-label {
    font-size: 0.8rem;
    color: #4a5568;
}

/* Product List */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.product-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.product-info {
    flex: 1;
}

.product-name {
    display: block;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.product-sales {
    font-size: 0.8rem;
    color: #4a5568;
}

.product-rank {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Analytics Section */
.analytics-section {
    padding: 80px 0;
    background: white;
}

.analytics-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    background: none;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

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

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.analytics-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.analytics-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

/* Segmentation Chart */
.segmentation-chart {
    height: 200px;
    background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.segmentation-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.segmentation-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Pattern Analysis */
.pattern-analysis {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pattern-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pattern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pattern-title {
    font-weight: 500;
    color: #1a202c;
}

.pattern-time {
    font-size: 0.8rem;
    color: #4a5568;
}

.pattern-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.pattern-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Journey Map */
.journey-map {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.step-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1a202c;
    text-align: center;
    line-height: 1.2;
}

.step-metric {
    font-size: 0.85rem;
    font-weight: 600;
    color: #667eea;
}

.journey-arrow {
    color: #cbd5e0;
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0 0.25rem;
}

/* Inventory Chart */
.inventory-chart {
    height: 200px;
    background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.inventory-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Stock Alerts */
.stock-alerts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-item.critical {
    background: #fed7d7;
    border-left-color: #e53e3e;
}

.alert-item.warning {
    background: #fef5e7;
    border-left-color: #dd6b20;
}

.alert-icon {
    color: #e53e3e;
    font-size: 1.2rem;
}

.alert-item.warning .alert-icon {
    color: #dd6b20;
}

.alert-content {
    flex: 1;
}

.alert-title {
    display: block;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.alert-desc {
    font-size: 0.8rem;
    color: #4a5568;
}

/* Forecast Table */
.forecast-table {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.forecast-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #f7fafc;
    padding: 1rem;
    font-weight: 600;
    color: #1a202c;
    font-size: 0.9rem;
}

.forecast-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    align-items: center;
}

.forecast-row:nth-child(even) {
    background: #f7fafc;
}

.status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.status.critical {
    background: #fed7d7;
    color: #742a2a;
}

.status.good {
    background: #c6f6d5;
    color: #22543d;
}

.status.excellent {
    background: #bee3f8;
    color: #2a4365;
}

/* Campaign Metrics */
.campaign-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.campaign-item {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.campaign-name {
    font-weight: 600;
    color: #1a202c;
}

.campaign-roi {
    background: #c6f6d5;
    color: #22543d;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.campaign-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #4a5568;
}

/* Personalization Insights */
.personalization-insights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.insight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.insight-content {
    flex: 1;
}

.insight-title {
    display: block;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.insight-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
}

/* A/B Testing */
.ab-testing {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.test-variant {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    position: relative;
}

.test-variant.winner {
    background: #c6f6d5;
    border: 2px solid #68d391;
}

.variant-label {
    font-weight: 500;
    color: #1a202c;
}

.variant-conversion {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

.winner-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #68d391;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.test-summary {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #4a5568;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* Insights Section */
.insights-section {
    padding: 80px 0;
    background: #f7fafc;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.insight-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.insight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.insight-priority {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.insight-priority.high {
    background: #fed7d7;
    color: #742a2a;
}

.insight-priority.medium {
    background: #fef5e7;
    color: #744210;
}

.insight-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.insight-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.insight-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

/* Reports Section */
.reports-section {
    padding: 80px 0;
    background: white;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.report-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.report-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.report-icon.shipper {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.report-icon.full {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.report-icon.route {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.report-icon.picture {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.report-icon.abandoned {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.report-icon.pull {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.report-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.report-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.report-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-generate {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.btn-generate::before {
    content: '▶';
    font-size: 0.8rem;
}

.btn-generate.shipper {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.btn-generate.shipper:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-generate.full {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-generate.full:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-generate.route {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.btn-generate.route:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-generate.picture {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.btn-generate.picture:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-generate.abandoned {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-generate.abandoned:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-generate.pull {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-generate.pull:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .journey-map {
        flex-direction: column;
        gap: 1rem;
    }
    
    .journey-arrow {
        transform: rotate(90deg);
    }
    
    .step-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .insights-header h1 {
        font-size: 2rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .analytics-tabs {
        flex-direction: column;
    }
    
    .journey-map {
        flex-direction: column;
        gap: 2rem;
    }
    
    .journey-arrow {
        transform: rotate(90deg);
    }
    
    .forecast-header,
    .forecast-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .campaign-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .test-summary {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .report-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .dashboard-card,
    .analytics-card,
    .insight-card,
    .report-card {
        padding: 1.5rem;
    }
    
    .metrics-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

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

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

.scheduler-container {
    max-width: 100%;
}

.scheduler-step h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.scheduler-step p {
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a202c;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.success-message p {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.meeting-details {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: left;
}

.meeting-details h4 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.meeting-details p {
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.meeting-details strong {
    color: #1a202c;
    font-weight: 600;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification.error {
    background: #ef4444;
}

.notification.success {
    background: #10b981;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-outline,
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}
