/* Basic styling for the checklist container */
.coleccionista-checklist-container {
    font-family: Arial, sans-serif;
    border: 1px solid #eee;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* Header styles for the guide details */
.coleccionista-checklist-container h3 {
    text-align: center;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
}

.coleccionista-checklist-container h5 {
    text-align: center;
    color: #666;
    margin-top: 5px;
    margin-bottom: 15px;
}

.coleccionista-checklist-container p {
    line-height: 1.6;
    margin-bottom: 1em;
}

/* Collector Name Input */
.coleccionista-collector-name-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.coleccionista-collector-name-wrapper label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.coleccionista-collector-name {
    width: 80%; /* Adjust as needed */
    max-width: 300px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in element's total width and height */
}

/* Progress Info (if still used) */
.coleccionista-progress-info {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #e9f5e9;
    border: 1px solid #d4edda;
    color: #155724;
    border-radius: 5px;
}

.coleccionista-progress-info p {
    margin: 5px 0;
    font-size: 1.1em;
}

/* Table styling */
.coleccionista-checklist-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.coleccionista-checklist-table th,
.coleccionista-checklist-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.coleccionista-checklist-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #555;
}

.coleccionista-checklist-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.coleccionista-checklist-table img {
    display: block; /* Ensures no extra space below image */
    margin: 0 auto; /* Center images in their cells */
    border-radius: 3px;
}

.coleccionista-no-image {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    color: #888;
    font-size: 0.8em;
    text-align: center;
    border: 1px dashed #ccc;
    margin: 0 auto;
}

/* Rarity Legend Styles */
.coleccionista-rarity-legend {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.coleccionista-rarity-legend h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}
.coleccionista-rarity-legend p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}
.coleccionista-rarity-box {
    width: 15px;
    height: 15px;
    border: 1px solid #ccc;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

/* Rarity Box colors for legend */
.coleccionista-rarity-box.coleccionista-rarity-exclusiva-de-evento {
    background-color: #FFD700; /* Gold/Yellow */
    border-color: #FFD700;
}
.coleccionista-rarity-box.coleccionista-rarity-rara {
    background-color: #FF0000; /* Red */
    border-color: #FF0000;
}
.coleccionista-rarity-box.coleccionista-rarity-muy-rara {
    background-color: #8A2BE2; /* BlueViolet / Purple */
    border-color: #8A2BE2;
}

/* NO Rarity Borders on Images/No Image placeholders (they are removed by setting border to transparent) */
.coleccionista-figura-visual {
    box-sizing: border-box;
    border: 2px solid transparent !important; /* Ensure no border */
}

/* Remove specific border color rules if they existed */
.coleccionista-figura-visual.coleccionista-rarity-exclusiva-de-evento,
.coleccionista-figura-visual.coleccionista-rarity-rara,
.coleccionista-figura-visual.coleccionista-rarity-muy-rara {
    border-color: transparent !important;
}


/* Rarity Highlight on Figure Name */
/* No specific highlight for "Común" */
.coleccionista-nombre-exclusiva-de-evento {
    background-color: #FFD700; /* Amarillo/Dorado */
    color: #333; /* Dark text for contrast */
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-weight: bold; /* Make it stand out a bit more */
}

.coleccionista-nombre-rara {
    background-color: #FF0000; /* Rojo */
    color: #fff; /* White text for contrast */
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-weight: bold;
}

.coleccionista-nombre-muy-rara {
    background-color: #8A2BE2; /* Violeta */
    color: #fff; /* White text for contrast */
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-weight: bold;
}


/* Dropdown for status */
.coleccionista-status-dropdown {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.9em;
}

.coleccionista-status-dropdown:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Save Button */
.coleccionista-save-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.coleccionista-save-button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.coleccionista-save-button:hover {
    background-color: #45a049;
}

.coleccionista-save-message {
    font-weight: bold;
}

/* Print Button */
.coleccionista-print-button-wrapper {
    text-align: center;
    margin-top: 15px; /* Adjust spacing */
}

.coleccionista-print-button {
    background-color: #0073aa; /* WordPress blue */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.coleccionista-print-button:hover {
    background-color: #005177;
}

/* Counter style */
.coleccionista-counter {
    text-align: right;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* Lightbox Styles (moved from inline to CSS file) */
#coleccionista-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
#coleccionista-lightbox-content {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#coleccionista-lightbox-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
#coleccionista-lightbox-image {
    max-width: 200px;
    max-height: 200px;
    display: block;
    margin: 0 auto;
}