.pokemon-popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.pokemon-popup-content {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 12px;
    width: 400px;
    height: 624px;
    max-width: 90%;
}
.pokemon-card-popup {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    padding-top: 4px;
    height: 100%;
}
#select-section{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 80px;
    background: rgba(255, 255, 255, 0.65);
    z-index: 0;
    border-radius: 32px 32px 0 0 ;
}
#popup-image{
    z-index: 1000;
    height: 250px;
    width: 250px;
}
.pokemon-card-header {
    background-image: url(../img/poke-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    z-index: 1;
}
.pokemon-card-header h2 {
    font-size: 56px;
    margin: 0;
    margin-top: 12px;
}
.pokemon-card-body {
    background: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    padding-bottom: 8px;
    flex: 1; 
    border-radius: 0 0 10px 10px;
    height: 100%;
}
.pokemon-card-body p {
    margin: 8px 0;
}
.about-section{
    padding: 0px 20px 20px 20px;
}
.about-section h3{
    margin: 0;
}
.about-item{
    padding: 4px;
    padding-left: 8px;
}
.about-type-div{
    display: flex;
}
.type-container{
    gap: 4px;
    padding-left: 4px;
}
.type-button{
    border-radius: 6px;
    color: white;
    box-shadow: none !important;
}
.ajust-span {
    text-transform: none;
    font-weight: normal;
    padding: 0;
}
.section-title{
    padding-bottom: 8px;
}
.stats-section{
    padding: 0px 20px 20px 20px;
}
.stats-section h3{
    margin: 0;
    padding: 0;
}
.stat-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.stat-name {
    flex: 1;
    font-size: 16px;
    color: #333;
    padding: 4px 0;
}
.stat-bar {
    flex: 2;
    background-color: #ddd;
    border-radius: 5px;
    height: 10px;
    position: relative;
}
.stat-bar-fill {
    background-color: #4CAF50;
    height: 100%;
    border-radius: 5px 0 0 5px;
    transition: width 0.3s ease-in-out;
}
.stat-value {
    text-align: right;
    font-size: 14px;
    color: #333;
}
.stats-section ul li{
    margin: 0;
}
.stats-section ul{
    padding-left: 0px;
}
.evolution-section{
    padding: 0px 20px 20px 20px;
    display: flex;
    flex-direction: column;
}
.evolution-section h3{
    margin: 0;
}
.evolution-chain{
    display: flex;
    justify-content: center;
    padding-top: 20px;
}
.evolution-arrow{
    padding: 0;
    width: 28px;
}
.evolution-pokemon p{
    font-weight: bold;
    margin: 0;
    padding-left: 12px;
}
.moves-section {
    padding: 0px 20px 20px 20px;
    overflow-y: auto;
    max-height: 200px; 
    scrollbar-width: thin;
    scrollbar-color: #ff0000 #f0f0f0; 
}
.moves-section::-webkit-scrollbar {
    width: 12px; 
}
.moves-section::-webkit-scrollbar-track {
    background: #f0f0f0; 
    border-radius: 10px;
}
.moves-section::-webkit-scrollbar-thumb {
    background: #ff0000; 
    border-radius: 10px; 
}
.moves-section::-webkit-scrollbar-thumb:hover {
    background: #cc0000; 
}
.moves-section h3{
    margin: 0;
}
.moves-section p{
    margin: 4px 0;
}
.arrow-prev-next{
    height: 80px;
}
.arrow-prev-next:hover{
    cursor: pointer;
    transform: scale(1.4);
}
.align-popup-img{
    display: flex;
    align-items: center;
}
.arrow-disabled {
    opacity: 0.5;
    pointer-events: none;
}
.close-button{
    display: none;
    height: 40px;
    position: absolute;
    right: 2px;
    top: 2px;
    z-index: 1001;
}
.close-button:hover{
    cursor: pointer;
    transform: scale(1.4);
}