/* static/css/style.css */


:root {
    --background-gradient: linear-gradient(135deg,
            rgb(0, 0, 0),
            rgb(25, 25, 25),
            rgb(51, 51, 51),
            rgb(76, 76, 76),
            rgb(76, 76, 76),
            rgb(51, 51, 51),
            rgb(25, 25, 25),
            rgb(0, 0, 0));
}


body {
    font-family: 'Roboto', sans-serif;
    background: var(--background-gradient);
    /*background-color: var(background-color);*/
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}


header,
footer {
    width: 100%;
    background-color: transparent;
    padding: 20px;
    text-align: center;
}

header h1,
footer a {
    color: #ffffff;
}

footer li {
    display: inline;
    margin: 10px;
    padding-bottom: 10px;
}

divscanresult {
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

sectionscanout {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

sectionlinks {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

sectionscan {
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgb(102, 102, 102);
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(51, 51, 51);
    transition: box-shadow 0.3s ease;
    margin: 5px;
}

sectionscan:hover {
    box-shadow: 0px 5px 15px rgba(102, 102, 102);
}

sectionscanhead {
    margin: 20px;
    border: 1px solid rgb(102, 102, 102);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 5px 15px rgba(51, 51, 51);
    transition: box-shadow 0.3s ease;
    justify-content: center;
}


.divhead {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sectionhead {
    margin-top: 0%;
    margin-bottom: 20px;
    border: 1px solid rgb(102, 102, 102);
    padding-bottom: 20px;
    border-radius: 10px;
    width: 98%;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0px 5px 15px rgba(51, 51, 51);
    transition: box-shadow 0.3s ease;
    justify-content: flex-start;
}

.sectionhead {
    margin-top: 0%;
    margin-bottom: 20px;
    border: 1px solid rgb(102, 102, 102);
    padding-bottom: 20px;
    border-radius: 10px;
    width: 98%;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-shadow: 0px 5px 15px rgba(51, 51, 51);
    transition: box-shadow 0.3s ease;
    justify-content: flex-start;
}

sectionwhitepaper {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.h3head {
    color: #ffffff;
    text-align: center;
    font-size: 32px;
    margin: 0 auto;
    padding-right: 5%;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    padding-left: 1%;
    max-width: 5%;
}


sectionlogo {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease;
    justify-content: center;
}

sectionbanner {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease;
    justify-content: center;
}

sectionfooter {
    margin-top: 20px;
    border: 1px solid rgb(102, 102, 102);
    padding: 20px;
    border-radius: 10px;
    width: 98%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 5px 15px rgba(51, 51, 51);
    transition: box-shadow 0.3s ease;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.65);
}

section {
    margin: 20px;
    border: 1px solid rgb(102, 102, 102);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 5px 15px rgba(51, 51, 51);
    transition: box-shadow 0.3s ease;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.65);
}

section:hover {
    box-shadow: 0px 5px 15px rgba(102, 102, 102);
}


section h2 {
    color: #ffffff;
    text-align: center;
}

section h3 {
    color: #ffffff;
    text-align: center;
    font-size: 24px;
}

@media only screen and (min-width: 768px) {
    section h3 {
        font-size: 32px;
    }

    .h3head {
        font-size: 40px;
    }
}

@media only screen and (min-width: 1024px) {
    section h3 {
        font-size: 40px;
    }

    .h3head {
        font-size: 48px;
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

form input[type=text],
form input[type=submit] {
    padding: 10px;
    width: 80%;
    margin: 0 auto;
}

form input[type=submit] {
    padding: 10px;
    background-color: transparent;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(51, 51, 51);
    transition: background-color 0.3s;
    cursor: pointer;
}

form input:hover {
    box-shadow: 0px 5px 15px rgba(102, 102, 102);
    animation: loading 2s linear infinite;
}

#votes-result {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
}

#verificationStatus {
    margin-top: 10px;
    text-align: center;
}

#search-result p {
    color: #ffffff;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.votes-table,
.poll-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 10px;

}

.votes-table th,
.votes-table td,
.poll-table th,
.poll-table td {
    border: 1px solid rgb(102, 102, 102);
    padding: 8px;
    text-align: center;
}

.votes-table th,
.poll-table th {
    background-color: transparent;
    color: #ffffff;
}

@media only screen and (max-width: 600px) {

    form input[type=text],
    form input[type=submit] {
        width: 100%;
    }

    section {
        width: 95%;
    }
}

.poll-table td {
    background-color: transparent;
    color: #ffffff;
}

button {
    padding: 10px;
    background-color: transparent;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(51, 51, 51);
    transition: background-color 0.3s;
    cursor: pointer;
    transition: all 0.3s ease;
    /* animate all changes */
    font-family: 'Roboto', sans-serif;
    /* use a modern font */
}

button:hover {
    box-shadow: 0px 5px 15px rgba(102, 102, 102);
    animation: loading 2s linear infinite;
    transform: translateY(-2px);

}

button:active {
    transform: translateY(0);
    /* move button back down when clicked */
    box-shadow: 0px 5px 15px rgba(102, 102, 102);
    /* reduce shadow when clicked */
}

@keyframes loading {
    0% {
        box-shadow: 0 0 5px rgba(102, 102, 102, 0.5);
    }

    25% {
        box-shadow: 5px 0 5px rgba(102, 102, 102, 0.5);
    }

    50% {
        box-shadow: 0 5px 5px rgba(102, 102, 102, 0.5);
    }

    75% {
        box-shadow: -5px 0 5px rgba(102, 102, 102, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(102, 102, 102, 0.5);
    }
}

.banner-container {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.banner-image {
    max-width: 100%;
    height: auto;
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background-color: transparent;
    color: #fff;
    padding: 0px;
}

.footer-container a {
    color: #fff;
    text-decoration: none;
}

.footer-item {
    flex: 1 1 200px;
    margin: 10px;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-item h3 {
    margin-bottom: 15px;
}

.footer-item ul {
    list-style-type: none;
    padding-left: 0;
    padding-bottom: 10px;
}

.footer-item ul li a:hover {
    color: rgb(255, 255, 255);
}

@media only screen and (max-width: 600px) {
    .footer-item {
        flex: 1 1 100%;
        text-align: center;
    }
}

.login-container {
    width: 100%;
    max-width: 400px;
    background-color: transparent;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poll-container {
    width: 100%;
    max-width: 400px;
    background-color: transparent;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;

}

.search_poll-container {
    width: 100%;
    max-width: 400px;
    background-color: transparent;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;

}

.search-form-container {
    width: 100%;
    max-width: 400px;
    background-color: transparent;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-result-container {
    width: 100%;
    max-width: 400px;
    background-color: transparent;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.responsive-input {
    width: 100%;
    box-sizing: border-box;
}

.poll-table td[data-percentage]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.40);
    z-index: -1;
    width: var(--percentage-width);
}

.vote-option {
    cursor: pointer;
}

.vote-text {
    display: flex;
    position: absolute;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    color: #ffffff;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    z-index: 10;
}

.loading-container {
    width: 100%;
    max-width: 400px;
    background-color: transparent;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #6d6d6d;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.result-container {
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    /* Use flex for centering */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
}

.result-row {
    margin-bottom: 10px;
    text-align: center;
}

.value {
    font-family: 'Roboto', sans-serif;
}

.error {
    color: red;
    font-weight: bold;
}

.scanner-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}



#tokenSecurityInfo {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: 80%;
    margin: 10px auto;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .scanner-container {
        align-items: center;
    }

    #chainSelect,
    #addressInput {
        width: 100%;
    }
}

select#chainSelect {
    background-color: black;
    color: white;
    border: 1px solid white;
}

select#chainSelect option {
    background-color: black;
    color: white;
}

#getTokenSecurityInfoBtn {
    width: 82%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    padding: 10px;
    background-color: transparent;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(51, 51, 51);
    transition: background-color 0.3s;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

a:hover {
    box-shadow: 0px 5px 15px rgba(102, 102, 102);
    animation: loading 2s linear infinite;
    transform: translateY(-2px);
}

ul {
    list-style-type: none;
    padding-left: 0;
}


p {
    text-align: center;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

div {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


divfooter {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu {
    width: 80%;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    flex-direction: column;
}

.container {
    display: flex;
    height: 100%;
}

.main-content {
    width: 85%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

table,
th,
td {
    border: 1px solid rgb(102, 102, 102, 0.65);
}

td {
    padding: 5px;
    text-align: left;
}

th,
td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid rgba(102, 102, 102);
}

tr:hover {
    box-shadow: 0px 5px 15px rgba(102, 102, 102);
    animation: loading 2s linear infinite;
    transform: translateY(-2px);
}

input[type=text] {
    padding: 7.5px;
    border-radius: 10px;
    border: 2px solid rgb(51, 51, 51);
    background-color: transparent;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
    width: 80%;
    margin: 0 auto;
    text-align: center;

}

input[type=text]:focus {
    border-color: rgba(102, 102, 102);
}

input[type=text]:hover {
    color: rgb(102, 102, 102);
}

input[type=text]::-webkit-input-placeholder {
    color: rgb(102, 102, 102);
}



.bot-description {
    padding: 20px;
    border-radius: 10px;
    line-height: 1.6;
}

.bot-description h1,
.bot-description h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.bot-description p {
    font-size: 16px;
    color: #ffffff;
}

.bot-description ul {
    margin-left: 20px;
}

.bot-description code {
    background: #eeeeee00;
    padding: 2px 5px;
    font-family: monospace;
    color: rgb(255, 255, 255);
}

.bot-description pre {
    background: #eeeeee00;
    padding: 10px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
}

.bot-description .bot-link {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

#address,
#address:focus {
    background-color: transparent !important;
}


#address:-webkit-autofill,
#address:-webkit-autofill:hover,
#address:-webkit-autofill:focus {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 500ms ease-in-out 0s;
}
