/* General styling for the character page */
.character-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.character-section-header {
    font-size: 1.8em;
    font-weight: bold;
    color: #ff7eb3;
    margin-bottom: 10px;
    border-bottom: 2px solid #ff7eb3;
    padding-bottom: 5px;
}

.character-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #1e1e1e;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.character-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff7eb3;
}

/* Album grid for thumbnails */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.album {
    text-decoration: none;
    color: #e0e0e0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.7);
}

.album img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.album h2 {
    margin: 10px 0 0;
    font-size: 1.2em;
}
/* Character search box styling */
.character-search-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin: 20px auto; /* Add spacing above and below */
    padding: 10px; /* Add padding for spacing */
    max-width: 100%; /* Ensure it doesn't overflow */
    box-sizing: border-box;
}

.character-search-input {
    width: 50%; /* Center-aligned input with a good width */
    max-width: 400px; /* Limit the maximum width */
    padding: 10px; /* Add padding for better usability */
    font-size: 1em; /* Ensure readable font size */
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 4px; /* Rounded corners */
    outline: none; /* Remove default browser outline */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth focus transition */
}

.character-search-input:focus {
    border-color: #ff7eb3; /* Highlight border on focus */
    box-shadow: 0 0 5px rgba(255, 126, 179, 0.7); /* Subtle glow effect */
}

