/* IntelliQuest Modern Professional Styles */

.intelliquest-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Clean Checklist Hero Section */
.checklist-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
}

.hero-icon {
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.hero-icon i {
    font-size: 2.5rem;
    color: white;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 400;
}

/* Checklist Items */
.checklist-icon {
    background: linear-gradient(135deg, #10ac84 0%, #1dd1a1 100%);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.priority-header {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-high {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.priority-medium {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.priority-low {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.task-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #667eea;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    margin-top: 2px;
}

.task-checkbox:hover {
    background: #f8f9ff;
    border-color: #5a6fd8;
    transform: scale(1.05);
}

.task-checkbox.checked {
    background: linear-gradient(135deg, #10ac84 0%, #1dd1a1 100%);
    border-color: #10ac84;
    color: white;
}

.task-checkbox i {
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.task-checkbox.checked i {
    opacity: 1;
}

.task-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.task-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
}

.tip-box {
    background: #fff8dc;
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 0.75rem;
}

.task-meta small {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Enhanced form controls */
.form-control:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    outline: none;
}

.form-control:hover {
    border-color: #8fa4f3;
    transition: border-color 0.15s ease-in-out;
}

/* Button hover effects */
.intelliquest-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Modern stat card hover effects */
.intelliquest-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4) !important;
}

/* Document and questionnaire item hover effects */
.document-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    background: #f0f7ff !important;
}

.questionnaire-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 172, 132, 0.15);
    background: #e8fff0 !important;
}

.intelliquest-content {
    background: white;
    border-radius: 20px 20px 0 0;
    margin-top: 120px;
    padding: 60px 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.intelliquest-hero {
    text-align: center;
    padding: 80px 0 60px;
    color: white;
    position: relative;
}

.intelliquest-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 50px 50px;
}

.intelliquest-hero-content {
    position: relative;
    z-index: 2;
}

.intelliquest-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.intelliquest-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.intelliquest-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.intelliquest-create-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border: none;
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intelliquest-create-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(238, 90, 36, 0.4);
    color: white;
    text-decoration: none;
}

.intelliquest-kb-grid {
    margin-top: 3rem;
}

.intelliquest-kb-card {
    background: white;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.intelliquest-kb-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.intelliquest-kb-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.intelliquest-kb-card .card-body {
    padding: 2rem;
}

.intelliquest-kb-card-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0;
}

.intelliquest-kb-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.intelliquest-kb-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.intelliquest-kb-date {
    color: #95a5a6;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intelliquest-kb-open-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    width: 100%;
    padding: 12px 0;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intelliquest-kb-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.intelliquest-empty-state {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.intelliquest-empty-icon {
    color: #667eea;
    font-size: 5rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.intelliquest-empty-title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.intelliquest-empty-description {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.intelliquest-features {
    background: #f8f9fa;
    padding: 80px 0;
    margin-top: 80px;
}

.intelliquest-feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intelliquest-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

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

.intelliquest-feature-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.intelliquest-feature-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .intelliquest-title {
        font-size: 2.5rem;
    }
    
    .intelliquest-subtitle {
        font-size: 1.2rem;
    }
    
    .intelliquest-create-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .intelliquest-hero {
        padding: 60px 0 40px;
    }
    
    .intelliquest-content {
        margin-top: 80px;
        padding: 40px 0;
    }
}