/* Judgement Details Tabs Styling */
.judgement-tabs-container {
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Permission Alert Styling */
.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    position: relative;
}

.alert-warning .alert-heading {
    color: #856404;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.alert-warning .alert-heading i {
    margin-right: 8px;
    font-size: 1.1em;
}

.alert-warning p {
    color: #856404;
    margin-bottom: 10px;
    line-height: 1.6;
}

.alert-warning hr {
    border-top: 1px solid #ffc107;
    opacity: 0.3;
    margin: 15px 0;
}

.alert-warning .btn-primary {
    background: #667eea;
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.alert-warning .btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.alert-warning .btn-primary i {
    margin-right: 6px;
}

.alert-warning .text-muted {
    color: #856404 !important;
    opacity: 0.8;
    font-size: 0.95em;
}

.judgement-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 5px;
}

.judgement-tabs-nav li {
    margin: 0;
}

.judgement-tab-link {
    display: block;
    padding: 12px 18px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    position: relative;
    white-space: nowrap;
}

.judgement-tab-link:hover {
    color: #e93314;
    background: rgba(0,123,255,0.05);
}

.judgement-tab-link.active {
    color: #e93314;
    background: #fff;
    border-bottom-color: #e93314;
}

.judgement-tab-content {
    display: none;
    padding: 25px;
    animation: fadeIn 0.3s ease-in;
}

.judgement-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.judgement-tab-content .mb_head {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.judgement-tab-content .mb_head:first-child {
    margin-top: 0;
}

.judgement-tab-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.judgement-tab-content p strong {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .judgement-tabs-nav {
        flex-direction: column;
    }
    
    .judgement-tab-link {
        padding: 12px 20px;
        border-left: 3px solid transparent;
        border-bottom: 1px solid #e9ecef;
    }
    
    .judgement-tab-link.active {
        border-left-color: #e93314;
        border-bottom-color: #e9ecef;
    }
    
    .judgement-tab-content {
        padding: 20px;
    }
}

/* Icon Styling */
.judgement-tab-link i {
    margin-right: 8px;
    font-size: 14px;
}

/* Badge for tab count */
.tab-badge {
    display: inline-block;
    background: #e93314;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 600;
}
