/* fanlisting single page styles */

/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Satisfy&family=Karla:wght@400;500;600&display=swap');

:root{
       --background: #8d9af7;
       --background-alt: #02304c;
       --backgroundshadow: #4e589c;
       --backgroundshadow-alt: #2bccf9;
       --highlight1: #e4e37e;
       --highlight2: #ff92c1;
       --text: rgb(191, 126, 190);
       --text3: #8e72c1;
       --text2: #f8dfff;
       --text-h: #fcacaa;

}

/* S C R O L L B A R*/

::-webkit-scrollbar {
    width: 3px;
    height: 7px;
    }
    ::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
    }
    ::-webkit-scrollbar-thumb {
    background: var(--text);
    border: 0px none #ffffff;
    border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
    background: var(--background);
    }
    ::-webkit-scrollbar-thumb:active {
    background: var(--background);
    }
    ::-webkit-scrollbar-track {
    background: var(--backgroundshadow);
    border: 0px none #ffffff;
    border-radius: 4px;
    }
    ::-webkit-scrollbar-corner {
    background: transparent;
    }
    
    ::selection {
    color: white;
    background-color: var(--purpledark);
    }

/* background */

body {
    background-color: var(--background);
    margin: 0;
    padding: 20px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

a:hover{
    color: var(--text2);
    text-shadow: 0px 0px 5px var(--highlight1);

}

a{
    text-decoration: underline;
    color: var(--backgroundshadow);
    transition: all 0.3s ease-in-out;
    
}

strong{
    color: var(--highlight1);
}

/* main layout wrapper */
.fanlisting-single {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* image container - this holds everything */
.fanlisting-image {
    position: relative;
    width: 100%;
}

.fanlisting-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* content wrapper positioned absolutely inside image container */
.fanlisting-content {
    position: absolute;
    top: 30%; /* adjust vertical position */
    left: 9%; /* adjust horizontal position */
    width: 40%; /* adjust width as percentage of image */
    max-width: 480px;
    box-sizing: border-box;
    color: var(--text2);
    box-shadow: 0px 0px 20px var(--backgroundshadow);
    border-radius: 10px;
    font-size: 0.9em;
    padding: 5px;
    background-color: var(--background);
}

/* headings with satisfy font */
h1, h2, h3 {
    font-family: 'Satisfy', cursive;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0.5em 0;
    text-shadow: var(--backgroundshadow) 0px 0px 10px;
    text-align: center;
    color: var(--text-h);
}

h2 {
    font-size: 2.5em;
    margin-top: 0;
    padding-top: 10px;
}

h3 {
    font-size: 2em;
}

/* paragraphs and body text */
p {
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    margin: 0.8em 0;
    padding-left: 5px;
    padding-right: 5px;
}

/* content area styling */
.fanlisting-header,
.member-list,
.no-members,
.back-link {
    padding: 0 20px 20px 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* codes display */
.code-display {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.code-item {
    display: flex;
    align-items: center;
}

.fanlisting-tabs{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.fanlisting-tabs a{
    justify-self: space-around;
    font-size: 1.2em;
    text-decoration: none;
}


.tab-content{
    overflow-y: auto;
    max-height: 400px;
}

.disclaimer{
    font-size: 0.8em;
    color: var(--highlight1);
    padding: 10px 20px 0 20px;
}

label{
    font-weight: 500;
}

small{
    color: var(--background-alt);
}

.message-success, .message-error{
    background-color: var(--text2);
    color: var(--backgroundshadow);
    border-radius: 10px ;
    padding: 10px;
    font-weight: 600;
}

/* members table styling */
.members-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.members-table thead {
    color: var(--backgroundshadow);
}

.members-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: lowercase;
    border-bottom: 1px solid var(--highlight2);
}

.members-table td {
    padding: 10px 15px;
}

.members-table tbody tr:hover {
    
}

.members-table tbody tr:last-child td {
    border-bottom: none;
}

code{
    background-color: var(--backgroundshadow);
    padding: 5px;
    border-radius: 10px;
}

.email-hover {
    text-decoration: underline;
    cursor: help;
}