@charset "UTF-8";

/* CSS Document */
.clear {
    clear: both;
    line-height: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {font-family: Arial,sans-serif;
}
img {
    width: 100%;
}

/* Decorative background elements */
.bg-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.bg-decoration.green-1 {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.bg-decoration.green-2 {
    width: 40px;
    height: 40px;
    background: #8BC34A;
    top: 60%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.bg-decoration.yellow-1 {
    width: 30px;
    height: 30px;
    background: #FFC107;
    top: 30%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

.bg-decoration.yellow-2 {
    width: 50px;
    height: 50px;
    background: #FFEB3B;
    top: 70%;
    right: 10%;
    animation: float 5s ease-in-out infinite reverse;
}

.bg-decoration.green-3 {
    width: 35px;
    height: 35px;
    background: #66BB6A;
    top: 15%;
    right: 30%;
    animation: float 9s ease-in-out infinite;
}

.bg-decoration.green-4 {
    width: 45px;
    height: 45px;
    background: #81C784;
    top: 50%;
    right: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Header */
.header {
    background-color: white;
    padding: 15px 0;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav.top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    width: 178px;
    height: 50px;
}

.logo a {
    color: #4CAF50;
    text-decoration: none;
}

.logo a span {
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    width: 86px;
    text-align: center;
}

.nav-links a.active {
    color: #4CAF50;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 36%;
    right: 0;
    height: 4px;
    width: 24px;
    background: #4CAF50;
    border-radius: 2px;
}

.nav-links a:hover {
    color: #4CAF50;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
    background: url(../img/home_bg.png) center -66px no-repeat;
    background-size: 116%;
}

/* Search Section */
.search-section {
    text-align: center;
    margin-bottom: 4rem;
}

.search-container {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}



.search-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #45a049;
}

/* Introduction Section */
.intro-section {
    width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2.4rem 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.intro-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 60px;
    height: 5px;
    background: #FFBF00;
    border-radius: 3px;
}

.intro-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
}

/* Footer */
.footer {
    background-color: #28a745;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    color: #FFD92F;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    main {
        padding: 2rem 1rem;
    }

    .search-container {
        flex-direction: column;
    }

    .search-btn {
        border-radius: 0;
    }

    .intro-section {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        gap: 1rem;
    }
}

.container {
    max-width: 1190px;
    margin: 0 auto;
    padding: 20px;
}

.gene-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    line-height: 44px;
    border-bottom: 4px #FFD400 solid;
    padding-bottom: 8px;
    padding-top: 8px;
}

.section {
    background-color: white;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header {
    background-color: #28a745;
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    align-items: center;
    gap: 8px;
    border-radius: 8px 8px 0 0;
}
.copyandlink {float: right; font-weight: normal; font-size: 16px;}
.copyandlink a {display: inline-block; text-decoration: none; color: #fff; padding-right: 26px; line-height: 22px;  }
.copyandlink a.copyid {background: url(../img/copy_icon.png) center right no-repeat;background-size: 18px;}
.copyandlink a.openlink {background: url(../img/open_link.png) center right no-repeat;background-size: 18px;}
.copyandlink a:hover {text-decoration: underline;}
.copyandlink b {font-weight: normal; font-size: 12px; color: #84D07A; margin: 0 24px;}
.info-icon {
    width: 16px;
    height: 16px;
    background-color: white;
    color: #28a745;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
}

.info-icon:hover {
    background-color: rgba(255, 255, 255, 0.8);
}


.section-content {
    padding: 15px;
}

.section-content h4 {
    margin: 20px 0 20px 0;
}

.section-content h4 span {
    float: right;
    font-weight: normal;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.info-table td {
    padding: 8px 0px 8px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.info-table td.tdline {
    border-right: 1px solid #eee;
}

.info-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    width: 300px;
    padding-left: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

.tooltip-text {
    background-color: rgba(34, 34, 34, 0.8);
    color: white;
    padding: 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: normal;
    width: 500px;
    margin: 10px 0;
    position: absolute;
    top: 22px;
    left: 0px;
    text-align: justify;
    z-index: 1000;
}

.tooltip-text:hover {
    cursor: auto;
}

.sequence-text {
    font-size: 14px;
    word-break: break-all;
    line-height: 1.5;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: justify;
}

.effect-tags {
    display: flex;
    gap: 5px;
    align-items: center;
}

.effect-negative {
    color: #0d92ff;
    font-weight: bold;
}

.effect-positive {
    color: #dc3545;
    font-weight: bold;
}

.structure-image {
    text-align: center;
    margin: 20px auto;

}

.structure-image img {
    max-width: 100%;
    border-radius: 4px;
}

.mutations-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
.mutations-table thead {position: sticky; top: -1px;}

.mutations-table th,
.mutations-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

.mutations-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    max-width: 168px;
    font-size: 14px;
}
.mutations-table th#th_predicted {cursor: pointer;}
.mutations-table th span {
    display: inline-block;
    width: 16px;
    height: 16px;
    float: right;
    margin-top: 2px;
    margin-right: 32px;
    cursor: pointer;
}

/*.mutations-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }*/
.mutations-table tr:hover {
    background-color: #f6f6f6;
}

.check-link {
    color: #28a745;
    text-decoration: none;
    font-weight: normal;
    background: url(../img/link_ico.png) center right no-repeat;
    padding-right: 24px;
    background-size: 18px;
}

.check-link:hover {
    text-decoration: underline;
}

.view-result {
    color: #28a745;
    text-decoration: none;
}

.view-result:hover {
    text-decoration: underline;
}

.footer {
    background-color: #28a745;
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: .8;
    background: none;
}

.back-to-top:hover {
    opacity: 1;
}

.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    width: 100%;
}

.search-container {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
}

.search-form {
    display: flex;
    gap: 0;
    width: 710px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #28a745;
    border-right: none;
    border-radius: 8px 0 0 8px;
    outline: none;
    background-color: #f8f9fa;

}

.search-input:focus {
    background-color: white;

}

.search-button {
    padding: 16px 32px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    background-color: #45a049;
    border: none;
}

.search-button:active {
    transform: translateY(0);
}

.results-section {
    background-color: white;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
}

.results-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
}

.results-title {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    position: relative;
}

.results-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 60px;
    height: 5px;
    background: #FFBF00;
    border-radius: 3px;
}

.results-underline {
    height: 3px;
    background-color: #ffc107;
    width: 60px;
    border-radius: 2px;
}

.result_list {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    border-radius: 8px 8px 0 0;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #28a745;
    border-left: 1px solid #28a745;
    border-right: 1px solid #28a745;
    background-color: #28a745;
}
.result-item:hover {background-color:  #1d9239;}
.gene_info table {
    font-size: 14px;
    width: 100%;
    border-bottom: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    border-spacing: 0;
}

.gene_info table th {
    text-align: left;
    padding-left: 16px;
    border-left: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    font-weight: normal;
    background-color: #f8f9fa;
    line-height: 36px;
}

.gene_info table td {
    border-left: 1px solid #e9ecef;
    padding-left: 16px;
    line-height: 36px;
}

.result-item:last-child {
    border-bottom: none;
}

.gene-link {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gene-link:hover {
    color: #e0ffe7;
    text-decoration: underline;
}

.read-more-btn {
    padding: 8px 20px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.read-more-btn:hover {
    background-color: #28a745;
    color: rgb(216, 255, 234);
    transform: translateY(-1px);
    border: 2px solid #dcffe8;
}

.overlay {
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index: 1;
    cursor: pointer;
    animation: 0.15s ease-in 0s 1 normal none running fadeIn;
    background: rgba(0, 0, 0, 0.7);
}

.rectangle {
    position: fixed;
    left: 50%;
    top: 50%;
    max-width: 1200px;
    z-index: 10000011;
    transform: translate(-50%, -50%);
    width: max-content;
    background-color: white;
    border-radius: 16px;
    padding: 30px 20px;
}

.close_pop-up {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close_pop-up a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #EBEEF1;
    border-radius: 10px;
}

.close_pop-up a:hover {
    background-color: #E1E5E8;
}

.l_datatable {
    width: 480px;
    float: left;
    margin-right: 20px;
    border-radius: 10px;
    border: 1px #45a049 solid;
}

.r_datatable {
    width: 480px;
    float: right;
    border-radius: 10px;
    border: 1px #45a049 solid;
}

.rectangle p {
    font-size: 14px;
    color: #999;
}

.rectangle h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

.l-data {
    padding: 15px;
}

.rectangle table {
    border-spacing: 0;
    width: 100%;
    font-size: 16px;
}

.rectangle table.data_sx th {
    border-right: 1px solid #D5F1D3;
    border-bottom: 1px solid #D5F1D3;
    line-height: 40px;
    width: 180px;
    text-align: left;
    padding-left: 15px;
}

.rectangle table.data_sx td {
    border-right: 1px solid #D5F1D3;
    border-bottom: 1px solid #D5F1D3;
    line-height: 40px;
    padding-left: 15px;
}

.result_none {
    padding: 60px 0;
}

.result_none p {
    text-align: center;
    font-size: 16px;
    color: #999;
    line-height: 44px;
}

.no_data_img {
    width: 120px;
    margin: 0 auto;
}

.crumb_nav P {
    line-height: 40px;
    color: #666;
    border-bottom: 1px #e8e8e8 solid;
}

.crumb_nav P a {
    color: #28a745;
    text-decoration: none;
}

.crumb_nav P a:hover {
    text-decoration: underline;
}

.crumb_nav P span {
    font-size: 12px;
    color: #999;
    margin: 0px 8px;
}

.fixed_menu {
    width: 120px;
    border: 1px #E7E7E7 solid;
    font-size: 12px;
    border-radius: 10px;
    position: fixed;
    top: 226px;
    left: 50%;
    margin-left: -695px;
    padding: 4px;
    background-color: white;
}

.fixed_menu ul li {
    list-style: none;
    line-height: 36px;
}

.fixed_menu ul li a {
    display: inline-block;
    color: #333;
    border-radius: 6px;
    text-decoration: none;
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding-left: 10px;
}

.fixed_menu ul li a.current {
    background-color: #28a745;
    color: white;
}

.fixed_menu ul li a.current:hover {
    background-color: #28a745;
    color: white;
}

.fixed_menu ul li a:hover {
    background-color: #F6F6F6;
    color: #28a745;
    cursor: pointer;
}


.form:before {
    content: "";
    position: absolute;
    background: var(--border-color);
    transform: scaleX(0);
    transform-origin: center;
    width: 100%;
    height: var(--border-height);
    left: 0;
    bottom: 0;
    border-radius: 1px;
    transition: transform var(--timing) ease;
}

.reset {
    border: none;
    background: none;
    opacity: 0;
    visibility: hidden;
}

/* close button shown when typing */
input:not(:placeholder-shown)~.reset {
    opacity: 1;
    visibility: visible;
}

/* sizing svg icons */
.form svg {
    width: 17px;
    margin-top: 3px;
}





.search-container {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
    display:grid;
}
.search-container p { padding-top: 14px; padding-left: 4px; text-align: left; color: #999999; font-size: 14px;}

.search-input:focus {
    background-color: white;
}

.search-button {
    padding: 16px 32px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-button:hover {
    background-color: #45a049;
    border: none;
}

.search-button:active {
    transform: translateY(0);
}

/* styling of whole input container */
.searcg-form {
    --timing: 0.3s;
    --width-of-input: 200px;
    --height-of-input: 40px;
    --border-height: 2px;
    --input-bg: #fff;
    --after-border-radius: 1px;
    position: relative;
    width: var(--width-of-input);
    height: var(--height-of-input);
    display: flex;
    align-items: center;
    padding-inline: 0.8em;
    border-radius: var(--border-radius);
    transition: border-radius 0.5s ease;
    background: var(--input-bg, #fff);
}

/* styling of Input */
.search-input {
    font-size: 0.9rem;
    background-color: transparent;
    width: 100%;
    height: 100%;
    padding-inline: 1em;
    padding-block: 0.7em;

}

/* styling of animated border */
c

/* Hover on Input */
.form:focus-within {
    border-radius: var(--after-border-radius);
}

input:focus {
    outline: none;

}

/* here is code of animated border */
.form:focus-within:before {
    transform: scale(1);
}

/* styling of close button */
/* == you can click the close button to remove text == */
.reset {
    border: none;
    width: 24px;
    height: 24px;
    background: none;
    opacity: 0;
    cursor: pointer;
    position: absolute;
    right: 130px;
    top: 13px;
    visibility: hidden;
}

.reset img {
    width: 100%;
}

/* close button shown when typing */
input:not(:placeholder-shown)~.reset {
    opacity: 1;
    visibility: visible;
}

/* sizing svg icons */
.form svg {
    width: 17px;
    margin-top: 3px;
}

.box_width1200 {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 600px;
}

.box_width1200 a {
    color: #28a745 !important;
    text-decoration: none;
}

.box_width1200 iframe a:hover {
    text-decoration: underline;
}

#linkDiv:hover {
    cursor: pointer;
}
.about_text p {line-height: 28px;}
.blank30 {line-height: 30px; height: 30px; clear: both;}