@charset "utf-8";
/* CSS Document */

        .palcontainer {
			font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            max-width: 1400px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .header {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .header p {
            font-size: 1.1em;
            opacity: 0.9;
        }

        .search-container {
            padding: 20px;
            background: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
        }

        .search-box {
            width: 100%;
            max-width: 400px;
            padding: 12px 20px;
            border: 2px solid #ddd;
            border-radius: 25px;
            font-size: 1em;
            outline: none;
            transition: all 0.3s ease;
            margin: 0 auto;
            display: block;
        }

        .search-box:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .table-container {
            overflow-x: auto;
            padding: 20px;
        }

        #palTable {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        #headerRow {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        #headerRow th {
            padding: 20px 15px;
            font-weight: 600;
            font-size: 1.1em;
            text-align: left;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #headerRow th:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        #headerRow th.sortable::after {
            content: ' ⇅';
            opacity: 0.7;
            margin-left: 8px;
        }

        tbody tr {
            transition: all 0.3s ease;
            border-bottom: 1px solid #f0f0f0;
        }

        tbody tr:nth-child(even) {
            background: #f8f9ff;
        }

        tbody tr:hover {
            background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        td {
            padding: 15px;
            vertical-align: middle;
            border-right: 1px solid #eee;
        }

        td:last-child {
            border-right: none;
        }

        .pal-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .pal-info img {
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }

        .pal-info img:hover {
            transform: scale(1.1);
        }

        .pal-name {
            font-weight: 600;
            color: #333;
            font-size: 1.1em;
        }

        .pal-name a {
            color: #333;
            text-decoration: none;
        }

        .pal-name a:hover {
            color: #667eea;
        }

        .paldeck-number {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            display: inline-block;
            min-width: 50px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .element-info {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .element-info img {
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .partner-skill {
            background: linear-gradient(135deg, #ffeaa7, #fab1a0);
            padding: 8px 12px;
            border-radius: 15px;
            font-weight: 500;
            color: #2d3436;
            display: inline-block;
        }

        .work-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .work-skill {
            background: linear-gradient(135deg, #74b9ff, #0984e3);
            color: white;
            padding: 4px 8px;
            border-radius: 10px;
            font-size: 0.85em;
            font-weight: 500;
        }

        .drops {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .drop-item {
            background: linear-gradient(135deg, #a29bfe, #6c5ce7);
            color: white;
            padding: 4px 8px;
            border-radius: 10px;
            font-size: 0.85em;
            font-weight: 500;
        }

        /* Element-based row styling */
        .element-neutral { border-left: 4px solid #95a5a6; }
        .element-fire { border-left: 4px solid #e74c3c; }
        .element-water { border-left: 4px solid #3498db; }
        .element-grass { border-left: 4px solid #2ecc71; }
        .element-electric { border-left: 4px solid #f1c40f; }
        .element-ice { border-left: 4px solid #85c1e9; }
        .element-ground { border-left: 4px solid #d35400; }
        .element-dark { border-left: 4px solid #8e44ad; }
        .element-dragon { border-left: 4px solid #9b59b6; }
        .element-mixed { border-left: 4px solid #e67e22; }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            #headerRow th {
                padding: 15px 10px;
                font-size: 0.9em;
            }
            
            td {
                padding: 10px 8px;
            }
            
            .pal-info {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
            
            .pal-info img {
                width: 60px;
                height: 60px;
            }
        }