/* Career page specific styles */
.prose {
    max-width: 75ch;
}

.prose h2 {
    font-family: 'Lora', serif;
    font-size: 1.875rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.prose p,
.prose ul,
.prose li {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.prose ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.prose ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
}

.prose a {
    color: #2F4BFF;
    text-decoration: underline;
}

/* Elegant Table Styling */
.prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 3rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Comparison Table Header */
.prose thead {
    background: linear-gradient(135deg, #2F4BFF 0%, #5468ff 100%);
    position: relative;
}

.prose thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.prose th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    border: none;
}

.prose th:first-child {
    padding-left: 2rem;
}

.prose tbody tr {
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.2s ease;
}

.prose tbody tr:last-child {
    border-bottom: none;
}

.prose tbody tr:hover {
    background: rgba(198, 255, 82, 0.08);
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.prose td {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    border: none;
    position: relative;
}

.prose td:first-child {
    padding-left: 2rem;
    font-weight: 600;
    color: #111827;
    background: linear-gradient(90deg, rgba(198, 255, 82, 0.05) 0%, transparent 100%);
}

/* Add subtle vertical separator */
.prose td:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
}

/* A Day in the Life Table - Elegant Timeline Style */
/* Target second table specifically */
.prose table:nth-of-type(2) {
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
    border: 1px solid #f3e8d0;
}

.prose table:nth-of-type(2) thead {
    background: linear-gradient(135deg, #FFD93D 0%, #ffb84d 100%);
}

.prose table:nth-of-type(2) th {
    color: #5c4200;
}

.prose table:nth-of-type(2) tbody tr:hover {
    background: rgba(255, 217, 61, 0.08);
}

/* Time column styling for day in life table */
.prose table:nth-of-type(2) td:first-child {
    background: linear-gradient(90deg, rgba(255, 217, 61, 0.08) 0%, transparent 100%);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.9rem;
    color: #5c4200;
    font-weight: 500;
}

/* Block column styling */
.prose table:nth-of-type(2) td:nth-child(2) {
    font-weight: 500;
    color: #1f2937;
}

/* Description column - make it more readable */
.prose table:nth-of-type(2) td:nth-child(3) {
    font-size: 0.9rem;
    color: #4b5563;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prose table {
        font-size: 0.875rem;
        margin: 2rem -1rem;
        border-radius: 0;
        box-shadow: none;
    }
    
    .prose th,
    .prose td {
        padding: 0.75rem 1rem;
    }
    
    .prose th:first-child,
    .prose td:first-child {
        padding-left: 1rem;
    }
    
    .prose tbody tr:hover {
        transform: none;
    }
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 3px solid #000000;
    border-radius: 12px;
    background-color: #fff;
    transition: all 0.2s ease-out;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(198, 255, 82, 0.7);
}

/* Therapist Week Grid - Compact */
.therapist-week-grid {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 0.25rem;
    font-size: 0.75rem;
}

.week-header {
    font-weight: 700;
    text-align: center;
    padding: 0.25rem;
    font-size: 0.75rem;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.week-time {
    font-weight: 600;
    font-size: 0.7rem;
    color: #6b7280;
    padding: 0.5rem 0.25rem;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.week-slot {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 0.4rem;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.15s ease;
}

.week-slot:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.week-slot p {
    margin: 0;
    line-height: 1.2;
}

.week-slot p:first-child {
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.week-slot p:last-child {
    opacity: 0.8;
    font-size: 0.65rem;
}

/* Gray slots for off time */
.week-slot.bg-gray-100 {
    border-style: dashed;
    border-color: #d1d5db;
    background-color: #f9fafb;
}

.week-slot.bg-gray-100 p {
    color: #9ca3af;
    font-style: italic;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .therapist-week-grid {
        font-size: 0.7rem;
        gap: 0.15rem;
    }
    
    .week-time {
        font-size: 0.65rem;
        padding: 0.3rem 0.15rem;
    }
    
    .week-slot {
        padding: 0.3rem;
        min-height: 40px;
    }
    
    .week-header {
        font-size: 0.7rem;
    }
}

/* Ensure apply bar sits above other elements */
.fixed.bottom-0 { 
    z-index: 60; 
}

@media (min-width: 1024px) { 
    .fixed.bottom-0 { 
        display: none; 
    } 
}