/* ============================================
   Premium Enterprise Styling for Shift & Overtime Management Page
   Append this to style.css or include separately
   ============================================ */

/* A) Hero Trust Strip - Pill Badges */
.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trust-badge-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(239, 5, 72, 0.5);
    box-shadow: 0 0 15px rgba(239, 5, 72, 0.3);
    transform: translateY(-2px);
}

.trust-badge-pill i {
    font-size: 14px;
}

@media (max-width: 767px) {
    .trust-badge-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* B) Multi-Tenant OT Rules Engine - Software-like UI */
.saas-diagram-software {
    border: 1px solid #e0e0e0;
}

.tenant-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.tenant-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    top: 2px;
}

.tenant-tab:hover {
    color: #04213F;
}

.tenant-tab.active {
    color: #EF0548;
    border-bottom-color: #EF0548;
    font-weight: 600;
}

.tenant-content {
    display: none;
}

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

.rule-set-header {
    padding-bottom: 10px;
}

.rule-badges {
    gap: 8px;
}

.rule-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 13px;
    color: #04213F;
}

.rule-badge strong {
    color: #EF0548;
    margin-right: 4px;
}

.rate-badges {
    gap: 8px;
}

.rate-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #EF0548;
    color: white;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.approval-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stepper-item {
    padding: 8px 16px;
    background: #04213F;
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
}

.stepper-item.single {
    margin: 0 auto;
}

.stepper-arrow {
    color: #EF0548;
    font-size: 18px;
}

@media (max-width: 767px) {
    .approval-stepper {
        flex-direction: column;
    }
    
    .stepper-arrow {
        transform: rotate(90deg);
    }
}

/* C) Shift Scenarios - Card Grid */
.scenario-card {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.scenario-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-5px);
    border-color: #EF0548;
}

.scenario-icon {
    margin-bottom: 15px;
}

.scenario-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.scenario-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* D) OT Calculation Logic - Rule Table */
.ot-rules-table {
    border: 1px solid #e0e0e0;
}

.rule-table-header {
    border-bottom: 2px solid #EF0548;
    padding-bottom: 15px;
}

.rule-table-body {
    margin-top: 10px;
}

.rule-row {
    transition: background 0.2s ease;
}

.rule-row:hover {
    background: #f9f9f9;
}

.rule-label {
    flex: 1;
}

.rule-value {
    flex-shrink: 0;
}

.rule-badge-value {
    display: inline-block;
    padding: 6px 16px;
    background: #EF0548;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
}

.rule-table-footer {
    background: #f9f9f9;
    margin-top: 20px;
    padding-top: 20px;
}

/* E) Workflow Timeline - 5-Step */
.workflow-timeline-wrapper {
    position: relative;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.workflow-step-number {
    width: 40px;
    height: 40px;
    background: #EF0548;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 15px;
}

.workflow-step-icon {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border: 3px solid #EF0548;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.workflow-step-icon i {
    font-size: 32px;
    color: #EF0548;
}

.workflow-step:hover .workflow-step-icon {
    background: #EF0548;
    transform: scale(1.1);
}

.workflow-step:hover .workflow-step-icon i {
    color: white;
}

.workflow-step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.workflow-step-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.workflow-arrow {
    padding: 10px 0;
}

/* Mobile - Vertical Timeline */
@media (max-width: 991px) {
    .workflow-timeline-horizontal {
        position: relative;
        padding-left: 30px;
    }
    
    .workflow-step::before {
        content: '';
        position: absolute;
        left: -30px;
        top: 50px;
        width: 2px;
        height: calc(100% + 20px);
        background: #EF0548;
    }
    
    .workflow-step:last-child::before {
        display: none;
    }
    
    .workflow-step-number {
        position: absolute;
        left: -50px;
        top: 70px;
    }
    
    .workflow-arrow {
        display: none;
    }
}

/* F) Security & Governance Block */
.security-governance-block {
    position: relative;
}

.security-governance-item {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.security-governance-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(239, 5, 72, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.security-icon {
    margin-bottom: 15px;
}

.security-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.security-description {
    font-size: 14px;
    line-height: 1.6;
}

/* G) Enhanced Card Shadows & Hover Effects */
.problem-card,
.benefit-list-item,
.why-item {
    transition: all 0.3s ease;
}

.problem-card:hover,
.benefit-list-item:hover,
.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .trust-badge-pill {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .tenant-tab {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .rule-badge,
    .rate-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .workflow-step-icon {
        width: 60px;
        height: 60px;
    }
    
    .workflow-step-icon i {
        font-size: 24px;
    }
}
