/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ffd700;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.auth-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #ffd700;
}

.mobile-auth {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Language Selector Styles (já incluídos no header.php) */

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

.card h1, .card h2 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.card h1 {
    font-size: 2rem;
}

.card h2 {
    font-size: 1.5rem;
}

/* Warning Card */
.warning-card {
    background: rgba(255, 165, 2, 0.1);
    border-color: rgba(255, 165, 2, 0.5);
}

.warning-card h2 {
    color: #ffb142;
}

/* CTA Card */
.cta-card {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #0f0f23;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-color: #ffd700;
}

.btn-danger {
    background: linear-gradient(45deg, #ff4757, #ff6b7a);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #ff6b7a, #ff4757);
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffd700;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-box h1 {
    text-align: center;
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.login-box h2 {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.login-box p {
    text-align: center;
    margin-top: 1rem;
}

.login-box a {
    color: #ffd700;
    text-decoration: none;
}

.login-box a:hover {
    text-decoration: underline;
}

/* Messages */
.error-message {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid #ff4757;
    color: #ff6b7a;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.success-message {
    background: rgba(46, 213, 115, 0.2);
    border: 1px solid #2ed573;
    color: #7bed9f;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.warning-message {
    background: rgba(255, 165, 2, 0.2);
    border: 1px solid #ffa502;
    color: #ffb142;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Quest Grid */
.quest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quest-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

.quest-card h3 {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.quest-card .category {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.quest-card .categorygreen {
    background: rgba(40, 167, 69, 0.2); /* Fundo verde claro */
    color: #ffffff; /* Texto verde */
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}


.quest-card .author {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-color: #ffd700;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid #ffd700;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    color: #a0a0a0;
}

/* Admin Panel Styles */
.admin-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-panel h1, .admin-panel h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.stat-card h2 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

.stat-card p {
    color: #ffd700;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

th {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-weight: bold;
}

td {
    color: #e0e0e0;
}

tr:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Editor Styles */
.editor-container {
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.editor-toolbar {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.editor-btn {
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.editor-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.editor-content {
    min-height: 300px;
    padding: 1rem;
    color: #e0e0e0;
    background: transparent;
    border: none;
    outline: none;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
}

/* Spoiler Warning */
.spoiler-warning {
    background: rgba(255, 71, 87, 0.2);
    border: 2px solid #ff4757;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.spoiler-warning h2 {
    color: #ff6b7a;
    margin-bottom: 1rem;
}

.spoiler-warning p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.spoiler-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .language-selector {
        display: none; /* Usar menu mobile */
    }
    
    .main-content {
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        justify-content: center;
    }
    
    .quest-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .admin-panel {
        padding: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .auth-buttons .btn {
        width: 100%;
    }
}



/* NPC Pages Styles */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    color: #ffd700;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    color: #c0c0c0;
    font-size: 1.2rem;
}

/* NPC Filters */
.filters-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filters-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    color: #ffd700;
    font-weight: bold;
    white-space: nowrap;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    min-width: 200px;
    font-size: 1rem;
}

.filter-select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* NPC Grid */
.npcs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.npc-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.npc-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

.npc-image {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.npc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
    font-size: 3rem;
}

.npc-info {
    padding: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
}

.npc-name {
    color: #ffd700;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.npc-city {
    color: #a0a0a0;
    margin: 0;
    font-size: 0.9rem;
}

/* NPC Detail Page */
.npc-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.back-button {
    margin-bottom: 2rem;
}

.npc-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.npc-image-large {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.npc-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.npc-header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.npc-title {
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.npc-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-label {
    color: #ffd700;
    font-weight: bold;
    min-width: 100px;
}

.meta-value {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.npc-description-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.npc-description-section h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.npc-description-content {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.1rem;
}

.npc-description-content p {
    margin-bottom: 1rem;
}

.npc-description-content h1,
.npc-description-content h2,
.npc-description-content h3,
.npc-description-content h4,
.npc-description-content h5,
.npc-description-content h6 {
    color: #ffd700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.npc-description-content ul,
.npc-description-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.npc-description-content li {
    margin-bottom: 0.5rem;
}

.npc-additional-info {
    margin-bottom: 2rem;
}

.info-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-card h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.info-label {
    color: #ffd700;
    font-weight: bold;
}

.info-value {
    color: #e0e0e0;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #a0a0a0;
}

.no-results h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-info {
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid #3498db;
    color: #74b9ff;
}

.alert-error {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid #ff4757;
    color: #ff6b7a;
}

/* Responsive for NPC Pages */
@media (max-width: 768px) {
    .npcs-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        min-width: 100%;
    }
    
    .npc-detail-container {
        padding: 1rem;
    }
    
    .npc-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .npc-image-large {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .npc-title {
        font-size: 2rem;
    }
    
    .meta-item {
        justify-content: center;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .npcs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .npc-title {
        font-size: 1.5rem;
    }
    
    .npc-image-large {
        width: 120px;
        height: 120px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

