/*
 * a:link { color: black; text-decoration: none; font-weight: normal; }
 a:visited { color: black; text-decoration: none; font-weight: normal; }
 a:active { color: black; text-decoration: none; }
 a:hover { color: blue; text-decoration: none; font-weight: none; }

 a.five:link {color:#ff0000;text-decoration:none;}
 a.five:visited {color:#0000ff;text-decoration:none;}
 a.five:hover {text-decoration:underline;}
 <a class="five" 
 */

/* mobile - ios */
@media screen and (max-width: 768px) {
    .wrapper {
        padding-left: 10px;
    }
}

@media only screen and (max-width: 950px) {
    .wrapper {
        padding-left: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .wrapper {
        padding-left: 10px;
    }
}

.dateSelector {
    border-color: orange;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    text-align: center;
    background-image: url("img/date_icon.webp");
    background-repeat: no-repeat;
    background-position: 100% 5%;
    background-size: 20px;
    background-color: #ffffff;
    color: #000;
    line-height: 20px;
    padding-top: 1px;
    padding-right: 15px;
    padding-bottom: 1px;
    padding-left: 2px;
}

.button {
    cursor: pointer;
}

.site-title-plus {
    font-size: 26px;
    font-weight: 300;
    line-height: 54px;
    letter-spacing: -1px;
    margin-bottom: 0;
    /* float: left; 
     * font-size: 32px;
     *
     */
    float: right;
    font-size: 30px;
}
.site-title-plus,
.site-title-plus:visited {
    color: #424242;
}
a.site-title-plus:hover {
    /* color: #669C35; */
    color: #4f7a27;
}

.site-title-alt {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: -1px;
    float: left;
}
.site-title-alt,
.site-title-alt:visited {
    color: #424242;
}
a.site-title-alt:hover {
    text-decoration: none;
}

.message {
    font-size: 13px;
    font-weight: normal;
    font-style: italic;
    padding: 2px;
    vertical-align: text-top;
    /*
    float: left;
    */
}

.messageCenter {
    z-index: 100;
    /*
      position: fixed;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      top: 25px;
      left: 2px;
      float: left;
      width: 360px;
      height: 70px;
      border-color: #000000;
      border-style: solid;
      border-width: 1px;
      background-color: #ffffff;
      display: none;
      padding-left: 3px;
      padding-right: 15px;
      margin: 5px 15px
          15px 15px;
    */
    top: 15px;
    left: 2px;
    float: left;
    width: 455px;
    height: 43px;
    padding: 10px 5px 5px 5px;
    border-radius: 5px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 27px;
    text-align: justify;
    display: none;
    border: 1px solid #ccc;
    position: fixed;
    background-color: #fff;
    filter: drop-shadow(0 0 0.2rem #ccc);
    /* filter: drop-shadow(0 0 0.15rem #ffba82); */
}

.logo {
    float: left;
    margin: 0px 30px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.rounded-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 0.5px solid black;
    border-radius: 10px;
    overflow: hidden;
}

.rounded-table th,
.rounded-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}

.rounded-table th {
    background-color: #f2f2f2;
}

/* Round top corners of header */
.rounded-table th:first-child {
    border-top-left-radius: 10px;
}

.rounded-table th:last-child {
    border-top-right-radius: 10px;
}

/* Round bottom corners of last row */
.rounded-table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
.rounded-table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.assetTableHeader {
    /* border-bottom: 0.5px solid grey; */
    color: black;
    cursor: text;
    /* cursor: pointer; */
    /* font-size: 14px; */
}

.cell-style {
    white-space: nowrap;
    padding: 8px;
    border: 1px solid gray;
}

.input-style {
    background-color: transparent !important;
    border-color: transparent !important;
    outline: transparent !important;
    font-size: 15px;
    padding: -2px -2px;
    /*
    padding: 4px 8px;
    margin: 10px;
     */
}

.submit {
    position: relative;
    padding: 4px 8px;
    margin: 5px;
    /*
     *
     * background: #009579;
     * background: #00ad35;
     * border: none;
     * outline: none;
     border-radius: 1px;
     */
    cursor: pointer;
}

/*
.submit:active {
background: #007a63;
}
 */

.button__text {
    font:
        bold 20px "Quicksand",
        san-serif;
    /* color: #ffffff; 
    color: #00ad35;
     */
    transition: all 0.2s;
}

.button--loading .button__text {
    visibility: hidden;
    opacity: 0;
}

.button--loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    /* border-top-color: #ffffff; */
    border-top-color: #000000;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

#tos {
    top: 50%;
    left: 50%;
    width: 30em;
    height: 18em;
    margin-top: -9em;
    margin-left: -15em;
    border: 1px solid #ccc;
    position: fixed;
    display: none;
    background-color: #fff;
}

/*
div.chart_background {
background: url(img/wicks.png) no-repeat;
border: 2px solid #ccc;
}


body { 
background-image: linear-gradient(to right, rgba(255,255,255, 0.7) 0 100%), url(img/chart.png);
background-repeat: no-repeat;
background-position: center;
}


img {
opacity: 0.5;
}

img:hover {
opacity: 1.0;
}
 */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 5px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 17px;
    text-align: center;
    display: none;
    border: 1px solid #ccc;
    position: fixed;
    background-color: #fff;
}

.info {
    color: blue;
}

.error {
    color: red;
}

.success {
    color: green;
}

/* Target Grid.js table container */
.gridjs-table {
    max-width: 80%; /* Adjust overall table width */
    font-family: Arial, sans-serif;
}

/* Smaller headers and no text wrapping */
.gridjs-th {
    font-size: 0.7rem; /* Smaller header font (adjust as needed) */
    white-space: nowrap; /* Prevent header text from wrapping */
    padding: 6px 8px; /* Optional: tighter padding for headers */
}

/* Smaller cell font and no wrapping */
.gridjs-cell {
    font-size: 0.8rem; /* Adjust cell text size */
    white-space: nowrap; /* Prevent cell text from wrapping */
    padding: 6px 12px; /* Adjust cell padding */
}

/* Optional: Remove borders and spacing */
.gridjs-table table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Optional: Adjust row height */
.gridjs-tr {
    height: auto;
}

/**************************************************/
/* Ad Banner styles */
/**************************************************/

.ad-banner-sponsors-a-href {
    color: black;
    text-decoration: none;
}

/* 728x90 Top */
.ad-banner-sponsors-728x90-top-parent-div {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
    display: none;
}

.ad-banner-sponsors-728x90-top {
    border-radius: 5px;
    border: 1px solid black;
}

/* 728x90 Bottom */
.ad-banner-sponsors-728x90-bottom-parent-div {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
    display: none;
}

.ad-banner-sponsors-728x90-bottom {
    border-radius: 5px;
    border: 1px solid black;
}

/* 160x600 Left Side Top */
.ad-banner-sponsors-160x600-left-side-top-parent-div {
    position: absolute;
    top: 300px;
    left: 15px;
    display: none;
}

.ad-banner-sponsors-160x600-left-side-top {
    border-radius: 5px;
    border: 1px solid black;
}

/* 160x600 Left Side Bottom */
.ad-banner-sponsors-160x600-left-side-bottom-parent-div {
    position: absolute;
    top: 1000px;
    left: 15px;
    display: none;
}

.ad-banner-sponsors-160x600-left-side-bottom {
    border-radius: 5px;
    border: 1px solid black;
}

/* 160x600 Right Side Top */
.ad-banner-sponsors-160x600-right-side-top-parent-div {
    position: absolute;
    top: 300px;
    right: 15px;
    display: none;
}

.ad-banner-sponsors-160x600-right-side-top {
    border-radius: 5px;
    border: 1px solid black;
}

/**************************************************/
/* Sponsor Features styles */
/**************************************************/

/* Prize Pool Display */
#prizePoolSection {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#prizePoolSection h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #424242;
}

.prize-pool-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prize-pool-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prize-pool-label {
    font-weight: 600;
    color: #666;
    min-width: 120px;
}

.prize-pool-value {
    color: #2a7ae2;
    font-weight: 500;
}

/* Sponsor Banners Container */
#sponsorBannersSection {
    margin: 30px 0;
}

#sponsorBannersSection h3 {
    margin-bottom: 15px;
    color: #424242;
}

.sponsor-banners-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 15px 0;
    scrollbar-width: thin;
    scrollbar-color: #2a7ae2 #f0f0f0;
    width: fit-content;
}

.sponsor-banners-container::-webkit-scrollbar {
    height: 8px;
}

.sponsor-banners-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.sponsor-banners-container::-webkit-scrollbar-thumb {
    background: #2a7ae2;
    border-radius: 4px;
}

.sponsor-banners-container::-webkit-scrollbar-thumb:hover {
    background: #1756a9;
}

/* Individual Sponsor Banner */
.sponsor-banner {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    border: 1px solid #000;
    border-radius: 8px;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    background-color: #fff;
}

.sponsor-banner:hover {
    /*
    */
    transform: translateY(-4px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: lightskyblue;
}

.sponsor-banner img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.sponsor-amount {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(190, 102, 39, 0.8), transparent);
    color: white;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.no-sponsors-message {
    color: #828282;
    font-style: italic;
    padding: 20px;
    text-align: center;
    background-color: #f7f7f7;
    border-radius: 8px;
}

/* Sponsor Registration Form */
#sponsorForm {
    max-width: 500px;
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#sponsorForm input[type="number"],
#sponsorForm input[type="url"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#sponsorForm input[type="number"]:focus,
#sponsorForm input[type="url"]:focus {
    outline: none;
    border-color: #2a7ae2;
    box-shadow: 0 0 0 3px rgba(42, 122, 226, 0.1);
}

#sponsorForm label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    /* color: #424242; */
    color: black;
}

#submitSponsor {
    width: 100%;
    padding: 12px;
    background-color: #2a7ae2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#submitSponsor:hover {
    background-color: #1756a9;
}

#submitSponsor:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Status Messages */
#sponsorStatus {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

#sponsorStatus.show {
    display: block;
}

#sponsorStatus.status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#sponsorStatus.status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#sponsorStatus.status-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .sponsor-banner {
        width: 250px;
    }

    #sponsorForm {
        padding: 15px;
    }

    .prize-pool-details {
        font-size: 14px;
    }
}

.h3_header {
    font-weight: bold;
    margin-bottom: 15px;
}
