body {
    background: #000000;
    color: #ffffff;
    border: 3px solid #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 24px;
}

header {
    border: 3px solid #d4d4d4;
    display: flex;
    flex-direction: row;
    height: 150px;
}

header div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#stats-btn {
    width: 156px;
}

#stats-btn:hover {
    background: #2e2e2e;
    cursor: pointer;
}

#main-title {
    border-left: 6px solid #d4d4d4;
    border-right: 6px solid #d4d4d4;
    flex: 1;
    font-size: 50px;
}

#account-btn {
    width: 156px;
}

#account-btn:hover {
    background: #2e2e2e;
    cursor: pointer;
}

main {
}

#new-ticket {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ticket-stub {
    border: 3px solid #d4d4d4;
    display: flex;
    flex-direction: row;
}

.ticket-stub:hover {
    background: #2e2e2e;
    cursor: pointer;
}

.ticket-stub div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-name {
    padding: 20px;
    width: 250px;
    border-right: 3px solid #d4d4d4;
    justify-content: center;
    text-align: center;
}

.ticket-body {
    flex: 1;
    border-right: 3px solid #d4d4d4;
    border-left: 3px solid #d4d4d4;
    display: flex;
    flex-direction: column;
}

.user-coins-row {
    padding-top: 10px;
    padding-bottom: 5px;
    border-bottom: 0.5px solid #d4d4d4;
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 45px;
}

.key-coins-row {
    padding-bottom: 10px;
    padding-top: 5px;
    border-top: 0.5px solid #d4d4d4;
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 45px;
}

.coin {
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 75%;
}

.user-coin {
}

.coin-buffer {
    flex: 12;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ticket-score {
    padding: 20px;
    width: 116px;
    border-left: 3px solid #d4d4d4;
}

/* login page */

.login-window-container {
    display: flex;
    flex-direction: column;
    padding: 100px;
    justify-content: center;
    align-items: center;
    border: 3px solid #d4d4d4;
}

.login-window {
    border: 3px solid #d4d4d4;
    height: 550px;
    width: 500px;
    display: flex;
    flex-direction: column;
}

.login-window-tabs-row {
    border-top: 3px solid #d4d4d4;
    border-left: 3px solid #d4d4d4;
    border-right: 3px solid #d4d4d4;
    display: flex;
    flex-direction: row;
    height: 100px;
}

.login-tab {
    flex: 1;
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.login-tab:hover {
    background: #2e2e2e;
    cursor: pointer;
}

#login-tab-btn {
}

.login-window-body {
    border-left: 3px solid #d4d4d4;
    border-right: 3px solid #d4d4d4;
    border-bottom: 3px solid #d4d4d4;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 25px;
    padding-bottom: 15px;
    justify-content: space-around;
    align-items: left;

}

.input-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-input {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    width: 97%;
}

.input-label {
    align-self: flex-start;
}

.error-message {
    color: red;
    align-self: flex-start;
    height: 16px;
    font-size: 16px;
}

.submit-btn {
    width: 150px;
    height: 60px;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    margin-top: 20px;
}

.submit-btn:hover{
    cursor: pointer;
}

.submit-btn-container {
    display: flex;
    justify-content: center;
}

.deselected-signup-tab {
    border-left: 6px solid #d4d4d4;
    border-bottom: 6px solid #d4d4d4;
}

.deselected-login-tab {
    border-right: 6px solid #d4d4d4;
    border-bottom: 6px solid #d4d4d4;
}

.hidden {
    display: none;
}

/* account page */

.account-container {
}

.account-row {
    border: 3px solid #d4d4d4;
    display: flex;
    flex-direction: row;
}

.account-row div {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
.account-subrow-buffer {
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 2px solid red;
}
*/

.coin-weight {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 75%;
    text-align: center;
}

.coin-weights-row {
    padding-bottom: 10px;
    border-top: 0.5px solid #d4d4d4;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.save-button:hover {
    background: #2e2e2e;
    cursor: pointer;
}

.log-out-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.log-out-button {
    border: 6px solid #d4d4d4;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.log-out-button:hover {
    background: #2e2e2e;
    cursor: pointer;
}

.example-coins-row {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.ex-coin {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.coin-stub {
    border: 3px solid #d4d4d4;
    display: flex;
    flex-direction: row;
}

.bias-name {
    padding: 20px;
    width: 116px;
    border-right: 3px solid #d4d4d4;
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
}

.coin-name {
    padding: 20px;
    width: 116px;
    border-right: 3px solid #d4d4d4;
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
}

.coin-name:not(.locked):hover {
    background: #2e2e2e;
    cursor: pointer;
}

.coin-name.coin-chosen:not(.locked):hover {
    background: #bdbdbd;
}

.notes {
    background-color: transparent;
    border: none;
    color: white;
    padding: 25px;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    display: flex;
    overflow: hidden;
    resize: none;
    flex-direction: column;
}

.notes:focus {
    outline: none;
    box-shadow: none;
}

.notes-a {
    border-right: 3px solid #d4d4d4;
    border-left: 3px solid #d4d4d4;
    flex: 3;
}

.notes-b {
    border-left: 3px solid #d4d4d4;
    flex: 1;
}

.biases {
    border-left: 3px solid #d4d4d4;
    flex: 1;
}

.no-select {
  user-select: none; /* Standard property for modern browsers */
  -webkit-user-select: none; /* Safari and older Chrome versions */
  -ms-user-select: none; /* For older versions of IE */
}

.coin-chosen {
    background: #d4d4d4;
    color: black;
}

.coin-chosen.coin-wrong {
    background: #b80000;
}

.coin-chosen.coin-right {
    background: #2bf080;
}

#ticket-title {
    background-color: transparent;
    border: none;
    color: white;
    padding: 25px;
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-left: 6px solid #d4d4d4;
    border-right: 6px solid #d4d4d4;
    flex: 1;
    font-size: 50px;
}

#ticket-title:focus {
    outline: none;
    box-shadow: none;
}

#return-btn {
    width: 156px;
}

#return-btn:hover {
    background: #2e2e2e;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of other elements */
}

.locking-popup {
    background: black;
    border: 6px solid #d4d4d4;
    padding: 40px;
    width: 90%
}

.popup-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.popup-type-container {
    font-size: 50px;
    text-align: center;
    margin-bottom: 50px;
}

.popup-coins-container {
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    border: 3px solid #d4d4d4;
    justify-content: center;
}

.key-coin-name {
    display: flex;
    flex: 1;
    border: 3px solid #d4d4d4;
    justify-content: center;
    align-items: center;
    height: 80px;
    text-align: center;
}

.key-coin-name:hover {
    background: #2e2e2e;
    cursor: pointer;
}

.key-coin-name.coin-chosen:hover {
    background: #bdbdbd;
}

.popup-buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 20px
}

#lock-in-btn {
    color: #2bf080;
    border-color: #2bf080;
}

#delete-ticket-btn {
    color: #b80000;
    border-color: #b80000;
}

#delete-ticket-btn:hover{
    background: #1c0417;
}

#lock-in-btn:hover{
    background: #061f10;
}

#lock-btn {
    width: 156px;
}

#lock-btn:hover {
    background: #2e2e2e;
    cursor: pointer;
}

#rolling-window {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 75%;
    width: 65px;
    text-align: center;
}