/*
 * eVisa Dashboard styles.
 * Extracted from the inline <style> block that was previously echoed on every
 * dashboard render, so it can be browser-cached and minified like any other
 * stylesheet. Content is byte-identical to what was emitted before.
 */

.evisa-dashboard {
            max-width: 100% !important;
            width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            font-family: Roboto, sans-serif;
            box-sizing: border-box !important;
        }
        
        .evisa-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #9a2f23 0%, #000000 100%);
            color: white;
            padding: 25px;
            border-radius: 12px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .evisa-header h1 {
            margin: 0;
            font-family: Roboto !important;
            font-size: 28px;
            font-weight: 600;
            color: #ffffff
        }
        
        .evisa-logout-btn {
            background: rgba(255,255,255,0.2);
            color: white;
            padding: 10px 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }
        
        .evisa-logout-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
            color: white;
            text-decoration: none;
        }
        
        .evisa-table-header {
            background: #f8f9ff;
            padding: 20px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0;
        }
        
        .evisa-lang-switcher-simple {
            display: flex;
            align-items: center;
        }
        
        .evisa-simple-lang-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: #ffffff;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            text-decoration: none;
            color: #374151;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .evisa-simple-lang-btn:hover {
            background: #f9fafb;
            border-color: #9ca3af;
            text-decoration: none;
            color: #374151;
        }
        
        .evisa-flag-simple {
            font-size: 14px;
        }
     
        .evisa-login-required {
            text-align: center;
            padding: 40px 40px;
            background: linear-gradient(135deg, #fefefe 0%, #f4f4f3 100%);
            border-radius: 20px;
            max-width: 600px;
            margin: 80px auto;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-top: 4px solid #9a2f23;
            position: relative;
        }
        
        .evisa-login-message {
            color: #475569;
        }
        
        .evisa-lock-icon {
            font-size: 72px;
            margin-bottom: 10px;
            display: block;
            opacity: 0.8;
            text-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .evisa-login-message p {
            font-size: 20px;
            margin-bottom: 40px;
            line-height: 1.6;
            font-weight: 500;
            color: #334155;
        }
        
        .evisa-login-btn {
            background: linear-gradient(135deg, #9a2f23 0%, #7a2519 100%);
			box-shadow: 0 4px 16px rgba(154, 47, 35, 0.3);
            color: white;
            padding: 16px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            display: inline-block;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .evisa-login-btn:hover {
            transform: translateY(-2px);
            color: white;
            text-decoration: none;
            box-shadow: 0 8px 24px rgba(154, 47, 35, 0.4);
			background: linear-gradient(135deg, #7a2519 0%, #5a1c13 100%);
        }
        
        .evisa-login-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 12px rgba(154, 47, 35, 0.3);
        }
        
        @media (max-width: 768px) {
            .evisa-login-required {
                margin: 30px 20px;
                padding: 60px 30px;
                max-width: none;
            }
            
            .evisa-lock-icon {
                font-size: 60px;
                margin-bottom: 15px;
            }
            
            .evisa-login-message p {
                font-size: 18px;
                margin-bottom: 35px;
            }
            
            .evisa-login-btn {
                padding: 14px 35px;
                font-size: 15px;
            }
        }
        
        .evisa-applications {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }
        
        .evisa-table-header h2 {
            margin: 0;
            font-family: Roboto !important;
            color: #2d3748;
            font-size: 22px;
            font-weight: 600;
        }
        
        .evisa-table {
            width: 100% !important;
            border-collapse: collapse;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }
        
        .evisa-dashboard .evisa-table th,
        .evisa-dashboard .evisa-table td {
            padding: 15px 12px !important;
            border-bottom: 1px solid #e2e8f0;
            vertical-align: middle;
            box-sizing: border-box !important;
        }
        
        @media (min-width: 769px) {
            .evisa-table th:nth-child(5),
            .evisa-table td:nth-child(5) {
                max-width: 150px;
                word-wrap: break-word;
                overflow-wrap: break-word;
            }
        }
        
        .evisa-table tr:hover {
            background: #f8f9ff;
        }
        
        .evisa-status {
            padding: 6px 8px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border: 2px solid;
            display: inline-block;
            word-wrap: break-word;
            max-width: 100%;
            text-align: center;
            line-height: 1.3;
        }
        
        .evisa-status.in-progress {
            background: #fef3cd;
            color: #8a6914;
            border-color: #facc15;
        }
        
        .evisa-status.approved {
            background: #d1fae5;
            color: #065f46;
            border-color: #10b981;
        }
        
        .evisa-status.rejected {
            background: #fee2e2;
            color: #991b1b;
            border-color: #ef4444;
        }
        
        .evisa-status.additional-docs {
            background: #fff7ed;
            color: #c2410c;
            border-color: #fb923c;
        }
        
        .evisa-status.returned {
            background: #dbeafe;
            color: #1e40af;
            border-color: #3b82f6;
        }
        
        .evisa-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
			justify-content: center;
        }
        
        .evisa-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.2s ease;
        }
        
        .evisa-btn-download {
            background: #10b981;
            color: white;
        }
        
        .evisa-btn-download:hover {
            background: #059669;
            transform: translateY(-1px);
            color: white;
            text-decoration: none;
        }
        
        .evisa-btn-rejection {
            background: #ef4444;
            color: white;
        }
        
        .evisa-btn-rejection:hover {
            background: #dc2626;
            transform: translateY(-1px);
            color: white;
            text-decoration: none;
        }
        
        .evisa-btn-send-docs {
            background: #3b82f6;
            color: white;
            white-space: nowrap;
        }
        
        .evisa-btn-send-docs:hover {
            background: #2563eb;
            transform: translateY(-1px);
            color: white;
            text-decoration: none;
        }
        
        .evisa-empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #64748b;
        }
        
        .evisa-empty-icon {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.5;
        }
        
        .evisa-empty-state h3 {
            margin-bottom: 10px;
            color: #475569;
        }
        
        @media (max-width: 768px) {
            .evisa-dashboard {
                padding: 0px;
            }
            
            .evisa-header {
                flex-direction: column;
                gap: 15px;
                text-align: center;
                padding: 20px;
            }
            
            .evisa-header h1 {
                font-size: 24px;
            }
            
            .evisa-table thead {
                display: none;
            }
            
            .evisa-table,
            .evisa-table tbody,
            .evisa-table tr,
            .evisa-table td {
                display: block;
            }
            
            .evisa-table tr {
                background: white;
                border: 1px solid #e2e8f0;
                border-radius: 8px;
                margin-bottom: 15px;
                padding: 15px;
                box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            }
            
            .evisa-table td {
                border: none;
                padding: 8px 0;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            
            .evisa-table td:before {
                content: attr(data-label);
                font-weight: 600;
                color: #374151;
                margin-right: 10px;
                flex-shrink: 0;
            }
            
            .evisa-actions {
                justify-content: flex-end;
                flex-direction: column;
                align-items: stretch;
            }
            
            .evisa-btn {
                justify-content: center;
                margin-bottom: 5px;
            }
        }
        
        .rtl .evisa-table {
            direction: rtl;
        }
        
        .rtl .evisa-actions {
            justify-content: center;
        }
        
        .rtl .evisa-detail-row {
            direction: rtl;
        }
        
        @media (max-width: 768px) {
            .rtl .evisa-table td {
                direction: rtl;
            }
            
            .rtl .evisa-table td:before {
                margin-left: 10px;
                margin-right: 0;
            }
        }
