body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}


p {
    margin-bottom: 10px;
}

ul {
    list-style-type: disc;
    padding-left: 40px;
    margin: 0;
}

ul li {
    margin-bottom: 10px;
}

h1,
h2,
#welcomeMessage {
    text-align: center;
}



.clickable-cell {
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


button {
    background-color: #2596be;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
}


#scavnj {
    flex: 1; 
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer {
    background-color: #f0f0f0;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    width: 100%;
    margin-top: auto; 
}


#window-containerLogin {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
}



/*---- Collectables Table (Dashboard) ----*/

#tableContainer {
    padding: 20px;
    border: 2px solid #000000;
    min-width: calc(100% - 40px);
    box-sizing: border-box;
    overflow: auto;
}

#table-collectablesTable {
    border-collapse: collapse;
    width: 100%;
    border: 2px solid #000000;
    table-layout: fixed; 
}

#table-collectablesTable th, 
#table-collectablesTable td {
    border: 2px solid red;
    overflow: hidden; 
    word-wrap: break-word;
}


#table-collectablesTable th,
#table-collectablesTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    width: 50px;
    height: 50px;
}

#table-collectablesTable img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
}


/*---- The Modals ----*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    width: 90%;
    max-width: 360px;
    max-height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}


form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 14px;
    margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #2596be;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
}











#closeRegistrationSuccessModalContent,
#closeLoginSuccessModalContent,
#closePasswordChangeSuccessModalContent {
    text-align: center;
    border: 3px outset #888888;
    width: 50%;
    left: 50%;
    transform: translate(50%, 0);
}

#accountErrorMessage {
    display: none;
    color: #ff0000;
    text-align: center;
}


/* .dimmed-image {
    filter: grayscale(100%) brightness(50%);
} */




/*---- Social Media Sharing ----*/

#table-socialMedia {
    border-collapse: collapse;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    border: 2px solid black;
}

#table-socialMedia td {
    padding: 8px;
    height: 75px;
    width: 75px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}


/*---- Cookie Policy ----*/

#cookie-policy {
    /* This is the "popup" across the bottom of the page until the user accepts it. */
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    padding: 15px;
    text-align: center;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#cookie-policy p {
    margin: 0;
}

/* #cookie-policy button {
    margin-top: 10px;
    padding: 8px 15px;
    cursor: pointer;
} */


/*---- Privacy Policy ----*/

.dimmed-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

#privacyPolicy {
    display: none;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 80%;
    max-width: 600px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    overflow: auto;
}


/*---- Popups ----*/

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#popup-deletionWarning {
    color: #FF0000
}



/*---- Start Time Warning ----*/

.countdown-timer {
    font-size: 16px;
    font-weight: bold;
    color: #ff6347;
}