﻿body {
}

.rate-section {
    padding-top: 100px;
}

.rate-info {
    margin-bottom: 30px;
}
.files-main {
    display: flex;
    align-items:center;
    justify-content:center;
    background-color: #28282c;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 82px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border-radius: 10px !important;
    opacity: 1;
    visibility: visible;
    backdrop-filter: saturate(180%) blur(5px);
    background-color: hsl(0deg 0% 0% / 26%);
    box-shadow: 0 0 10px 0 rgba(18, 24, 32, .1);
    -webkit-backdrop-filter: saturate(180%) blur(5px);
    backdrop-filter: saturate(180%) blur(5px);
    cursor:pointer;
}
    .files-main i {
        font-size: 22px;
        color: #00a1e9;
    }
    .files-main i::after {
        font-weight: 600;
        font-style: normal;
        font-size: 2em;
        line-height: 34px;
        color: #fff;
        display: block;
        margin: 19px 10px 10px 18px;
        border-top: 2px solid #fff;
        border-left: 2px solid #fff;
        transform: rotate(44deg);
    }
.w-100 {
    text-align: center;
    width: 100%;
}

.state {
    position: relative;
}

#rate input {
    border-radius: 0;
}

.text-end {
    text-align: end;
}

label.error {
    color: red;
    font-size: 12px;
    margin-left: 5px;
    display: inline;
}

.my-btn {
    background-color: #b74242;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 400;
    border-radius: 30px;
    text-align: center;
    padding: .9em;
    align-content: center;
    text-decoration: none;
    transition: .3s ease-in-out;
}

    .my-btn:hover {
        outline: 2px solid #b74242;
        color: #b74242;
        background-color: white;
        text-decoration: none;
    }

/* NavBar */

.space-for-nav {
    margin-top: 6em;
    content: "";
}

.logo-size {
    width: 100px;
    height: auto;
}

.nav-link {
    transition: .5s ease-in-out;
}

    .nav-link:hover {
        border-radius: 3px;
        box-shadow: darkgray 2px 2px 2px 2px;
    }

.search-results-container {
    position: absolute;
    margin-top: 20px;
    left: -234px;
    display: none;
}

.result-list {
    list-style: none;
    width: 390px;
    max-height: 300px;
    padding-left: 0;
    margin-left: 39px;
    background-color: white;
    overflow-y: scroll;
    border: 1px solid #e0e0e0;
    border-top: 0;
}

.result-item {
    padding: 10px 20px;
    width: 360px;
    height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media only screen and (max-width: 600px) {
    .search-results-container {
        position: absolute;
        margin-top: 20px;
        left: 0;
    }

    .result-list {
        list-style: none;
        width: 390px;
        height: 100px;
        padding-left: 0;
        margin-left: 39px;
        background-color: white;
        overflow-y: scroll;
        border: 1px solid #e0e0e0;
        border-top: 0;
    }

    .result-item {
        padding: 10px 20px;
        width: 380px;
        height: 30px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* */
.icon-size {
    font-size: 30px;
    width: 35px;
    text-align: center;
}

.card-text-layout {
    display: flex;
}

.card-text-item > .card-text {
    margin: .5em 0;
}

.card-text-item {
    flex: 1;
    margin: auto 1em;
}

.card-text {
    text-align: left;
    font-size: 1em;
}

/* Index page */
.index-icon-bg {
    color: #5b0fd5;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 50px;
    width: 70px;
    height: 70px;
    font-size: 2.7em;
}
/* Carousel Captions */

.carousel-captions-container {
    position: absolute;
    top: 10%;
    left: 10%;
    display: flex;
    flex-direction: column;
    font-size: 1.2vw;
}

.carousel-header-container {
    /*position: absolute;
    top: 20%;
    left: 10%;*/
}

.carousel-header-caption {
    color: white;
    padding: .2em .2em;
    font-size: 2em;
    background-color: #54aaf3;
    opacity: 0;
    animation: slidin 2s forwards;
    animation-delay: 1s;
}

.carousel-text-container {
    /*position: absolute;*/
    /*    left: 10%;
    width: 80%;*/
    margin-top: .3em;
    font-size: 1.2em;
    opacity: 0;
    /*transition: opacity 0.5s ease-in-out;*/
    animation-fill-mode: forwards;
}

.carousel-text-caption {
    color: black;
    background-color: white;
    border-radius: 5px;
    padding: 0px 5px;
}

.carousel-footer-container {
    margin-top: .2em;
    font-size: 1.5em;
    opacity: 0;
    animation: bottomUp 1.5s forwards;
    animation-delay: 2s;
}

.carousel-footer-caption {
    color: white;
    background-color: darkgray;
    border-radius: 5px;
    padding: 0px 5px;
}

.carousel-animation-scale {
    animation: scaleUp 1.5s forwards;
}

.carousel-animation-bottomUp {
    animation: bottomUp 1.5s forwards;
}

.carousel-animation-fade {
    animation: fadeInAnimation 1.5s forwards;
}

.carousel-animation-rotate {
    animation: rotation 3s forwards;
}

@keyframes rotation {
    0% {
        transform: scale(0);
        transform: rotate(90deg);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        transform: rotate(0);
        opacity: 1;
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes bottomUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slidin {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.img-border {
    box-shadow: gray 5px 10px 7px 0px;
}

.carousel-img-container {
    /*max-height: 47vh;*/
}

/* bg img for web services */

.Web-Cost-Prices {
    color: red;
}

.webservices-bg {
    background-image: url("../static/image/WebServices/parallax-bg-2.jpg");
    background-position-x: 50%;
    background-position-y: 30%;
}

.bg-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.bg-overlay-light {
    background: rgba(255, 255, 255, 0.3);
}

.sms-bg {
    background-image: url("/static/image/SMS/slider-2-slide-2.jpg");
    background-position-x: 50%;
}

/* shop */
.shop-heading-bg {
    background-image: url("/static//image/Shop/parallax-bg-3.jpg");
    background-size: cover;
}

.add-item-container {
    display: flex;
    justify-content: space-between;
}

.heading-message-container {
    text-align: left;
    padding-bottom: 2em;
    padding-top: 1em;
}

.heading-message {
    color: white;
}


@media (min-width: 768px) {
    .product-list .root {
        column-count: 3;
        column-gap: 30px;
    }
}

/* Download Page */

.dw-icon-container {
    max-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dw-icon-size {
    font-size: 8em;
    padding: 50px;
}

.dw-text {
    text-align: center !important;
}

.dw-button {
    border-radius: 5px;
    border: 1px solid lightgray;
    padding: 5px 10px;
    box-shadow: 5px 3px 3px #6c757d;
    font-weight: 400;
}

    .dw-button:hover {
        background-color: lightblue;
    }

.dw-page-bg {
    background-color: #f1f1f1;
}

/* CreditMachine Page */

.buttons-container {
    display: flex;
}

.custom-btn1 {
    font-size: 1.2em;
    padding: 0.8em 1.2em;
    border-radius: 30px;
    border: 2px solid #6c757d;
    background-color: #6c757d;
    color: #fff;
    transition: .3s all;
    text-align: center;
}

.custom-btn2 {
    font-size: 1.2em;
    padding: 0.8em 1.2em;
    border-radius: 30px;
    border: 2px solid #dc3545;
    background-color: #dc3545;
    color: #fff;
    transition: .3s all;
    text-align: center;
}

.custom-btn1:hover {
    background-color: #fff;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.custom-btn2:hover {
    background-color: #fff;
    border: 2px solid #dc3545;
    color: #dc3545;
}

.img-container-2 {
    display: flex;
    justify-content: space-around;
}

.img-container-3 {
    display: flex;
    justify-content: center;
}

.tabs-container {
    display: flex;
    justify-content: center;
}

.tab-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    min-width: fit-content;
    border-radius: 10px;
}

.tabcontents-container {
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
}

.tabItem-Container {
    width: 70%;
}

.tab-item {
    flex-grow: 1;
}

/* Shop Printer-Scanner */

.PS-Heading-FS {
    font-size: 1.4em;
    color: #2e2c2c;
    font-weight: 520;
}

.price-container {
    display: flex;
}

.price-tag {
    font-size: 1.5em;
}

.deal-price-container {
    display: flex;
    justify-content: space-around;
}

.deal-price {
    padding: 1em 2em;
    border-radius: 30px;
    background-color: orange;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.deal-price-text {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

.img-row-container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #f5f5f5;
}

.img-row {
    padding: .5em;
    transition: .5s ease-in-out;
}

.img-row-img {
    width: auto;
    height: auto;
    max-height: 12em;
}

.img-row:hover {
    background-color: #e2e2e2;
    /*transform: scale(2) translateY(-4em);*/
}

/* FreeWeb */
.myImg {
    max-height: 260px;
    max-width: 370px;
    width: auto;
    height: auto;
}

.img-link:hover {
    border-radius: 10px;
    box-shadow: 2px 2px 2px 2px lightgray;
    transition: .5s ease-in-out;
}

/* Template */
.template-img {
    cursor: pointer;
    transition: .5s ease-in-out;
}

    .template-img:hover {
        box-shadow: inset gray 0px 0px 5px;
    }

.template-name {
    background-color: #f1f1f1;
    text-decoration: none;
}

    .template-name:hover {
        background-color: #83c6ff;
        color: white;
    }

.category-text {
    padding: .3em;
    border-radius: 10px;
    transition: .5s ease-in-out;
    margin: .5em 0;
    text-decoration: none;
}

    .category-text:hover {
        outline: 1px solid lightgray;
    }

.prod-no-desc {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 2em;
}

/* DocListPage */
.tag-section-custom {
    border: 1px solid #e3e1e1;
    border-radius: 30px;
    margin-top: 2rem;
    padding: 2rem;
}

.tag-content-custom {
    background-color: #f3f3f3;
    padding: 0.3em 0.8em;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #212121;
    line-height: 2.5;
    font-size: .8em;
}

    .tag-content-custom:hover {
        box-sizing: border-box;
        color: #5b0fd5;
        border: 1px solid #5b0fd5;
        background-color: #fff;
        text-decoration: none;
    }

/* SMS Refill Page */
.my-container {
    border-radius: 30px;
    border: 1px solid #e3e1e1;
    padding: 1rem 2rem;
}

.select-button {
    padding: .3em 1rem;
    background-color: #54aaf3;
    cursor: pointer;
    color: white;
    width: fit-content;
}

    .select-button:hover {
        outline: 1px solid #54aaf3;
        background-color: white;
        color: #54aaf3;
    }

.amounts button {
    min-width: 60px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 7px 10px;
}

    .amounts button:hover {
        background-color: #54aaf3;
    }

    .amounts button.active {
        border: 1px solid black;
        background-color: #54aaf3;
    }

.order-detail {
    list-style: none;
}

.refill-store-info {
    font-weight: 700;
    margin: .5em 0;
}

/* Camera */

.my_6_banner {
    /*background-color: #e9e9e9;*/
    background-image: linear-gradient(315deg, #5b0fd580 0%, #5b0fd5d1 74%);
}

.img-container {
    max-height: 220px;
    max-width: 400px;
}

.img-size {
    height: 260px;
    width: auto;
}
/* 活动与对比模块 */
.promo-comparison-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.campaign-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* 价格展示样式 */
.price-container {
    text-align: center;
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 24px;
    margin-right: 15px;
}

.current-price {
    font-size: 52px;
    color: #e74c3c;
    font-weight: bold;
    margin: 10px 0;
}

.price-note {
    font-size: 18px;
    color: #666;
    margin-top: 5px;
}

/* 对比表格样式 */
.comparison-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.comparison-column {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

    .comparison-column:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        background-color: white;
    }

.column-header {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.our-header {
    color: #3498db;
}

.competitor-header {
    color: #e74c3c;
}

.feature-list {
    list-style: none;
}

.feature-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

    .feature-item::before {
        position: absolute;
        left: 0;
        top: 0;
        font-size: 20px;
    }

.our-feature::before {
    content: "✓";
    color: #27ae60;
}

.competitor-feature::before {
    content: "✗";
    color: #e74c3c;
}

.feature-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 20px;
    color: #2c3e50;
}

.feature-desc {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

/* 按钮样式 */
.cta-button {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    text-align: center;
    background-color: #3498db;
    color: white;
    padding: 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 18px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

    .cta-button:hover {
        background-color: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

/* 响应式设计 */
@media (max-width: 768px) {
    .promo-comparison-section {
        padding: 30px 20px;
    }

    .campaign-title {
        font-size: 28px;
    }

    .original-price {
        font-size: 20px;
    }

    .current-price {
        font-size: 42px;
    }

    .comparison-column {
        flex: 1 1 100%;
    }
}

.template-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    .template-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.template-img {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

    .template-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.template-card:hover .template-img img {
    transform: scale(1.05);
}

.template-name {
    padding: 15px;
    text-align: center;
    color: #333;
    font-weight: 600;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.template-card:hover .template-name {
    color: #007bff;
}

#webTemplate {
    padding: 20px 0;
}
/* 模态框样式 */
.modal-template .modal-dialog {
    max-width: 800px;
}

.modal-template-img-container {
    position: relative;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-template-img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.modal-template-title {
    text-align: center;
    margin-bottom: 30px;
}

.modal-template-body {
    text-align: center;
    position: relative;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #007bff;
    cursor: pointer;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

    .nav-arrow.left {
        left: 10px;
    }

    .nav-arrow.right {
        right: 10px;
    }

    .nav-arrow:hover {
        background: rgba(255,255,255,0.9);
    }

.swipe-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

button[data-category] {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

    button[data-category].active {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
    }

    button[data-category]:hover {
        background-color: #e9ecef;
    }

    button[data-category].active:hover {
        background-color: #0069d9;
    }

.template-item {
    transition: all 0.3s ease;
}
.ess-modal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgb(156, 156, 156, 0.5);
    align-items:center;
    justify-content:center;
    z-index:99;
    display:none;
}
.ess-modal-body{
    width:96%;
    max-width:500px;
    padding:20px;
    min-height:100px;
    box-sizing:border-box;
    background-color:white;
    border-radius:5px;
}
/* iframe 本身的美化 */
.beautiful-iframe {
    border: none; /* 去掉默认边框 */
    width: 100%; /* 宽度 100% */
    height: 650px; /* 固定高度，也可设为百分比或响应式 */
    background-color: #f9f9f9; /* 可选：占位背景色 */
}

/* 可选：加载提示 */
.loading-placeholder {
    padding: 50px;
    background: #f1f1f1;
    color: #666;
    border-radius: 10px;
    margin-bottom: 10px;
}