* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: PingFangSC-Medium, PingFang SC;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

#app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.header {
    display: flex;
    height: 60px;
    min-height: 60px;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 80px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.header-logo {
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 10px 20px;
    color: #494949;
}

.header .download-btn {
    background-color: #d9f5e0;
    color: rgb(37, 152, 79);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 45px;
    font-weight: bold;
    display: flex;
    cursor: pointer;
}

.header .download-btn img {
    height: 20px;
    width: 20px;
    margin-right: 5px;
}

.main-content {
    flex: 1; /* This allows the content to expand and fill available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.main-content h1 {
    font-size: 20px;
    margin-bottom: 40px;
    color: #525252;
}

.main-content .main-logo {
    justify-content: center;
    align-items: center;
    display: flex;
    height: 100px;
    color: #494949;
    font-size: 30px;
    margin-bottom: 30px;
}

.code-container {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    flex: auto;
}

.url-container {
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    position:absolute;
    top: 0;
    left: 0;
}

.url-container .url-input {
    width: 47%;
    height: 60px;
    padding: 0 20px;
    margin-bottom: 40px;
    font-size: 16px;
    border: 2px solid #52aa6c;
    border-radius: 15px;
}

.url-container input:focus {
  outline: none;        /* 确保聚焦时也无轮廓 */
  box-shadow: none; /* 去除阴影效果 (Bootstrap 等框架常用) */
  border-color: #52aa6c;/* 可选：设置一个默认的边框颜色 */
}


.url-container .gen-code-btn {
    width: 180px;
    height: 60px;
    font-size: 22px;
}

.url-result {
    font-size: 18px;
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.url-result .code {
    font-weight: bold;
    font-size: 24px;
    color: #56b55f;
}

.url-result .code .code-item{
    flex-direction: row;
    display: inline-flex;
    width: 80px;
    height: 80px;
    background: linear-gradient( #4db758, #24682b);
    color: white;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: 36px;
    margin: 0 5px;
}

.url-result .code .code-item:not(.graystyle) {
    background: #3AA73E;
    color: #fff;
    border-color: #3AA73E;
    animation: pulse 2s infinite;
}
    
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(58, 167, 62, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(58, 167, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(58, 167, 62, 0); }
}

.url-result .notify {
    line-height: 40px;
    height: 40px;
    margin: 30px 0;
    color: red;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.url-result .notify img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.url-result .btn-container {
    margin: 30px 30px;
    height: 60px;
    justify-content: between;
    align-items: center;
}

.url-result .btn-container button {
    height: 50px;
    width: 160px !important;
    background-color: #56b55f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 23px;
    cursor: pointer;
    margin-left: 30px;
}

.url-result .btn-container .back-home-btn {
    background-color: #c2dbc4 !important;
    color: #327439 !important;
}

.footer {
    margin-top: 50px;
    margin-bottom: 20px;
}

.footer .install-instruction {
    margin: 50px;
    font-size: 20px;
    color: #6c6c6c;
}

.footer .install-instruction a{
    text-decoration: none;
    color: #56b55f;
}

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

.footer .policy {
    color: #888;
    font-size: 14px;
}
    
.footer .policy a {
    color: #888;
    text-decoration: none;
}

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

button {
    height: 60px;
    width: 250px;
    background-color: #3AA73D;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 23px;
    cursor: pointer;
    margin-left: 10px;
}

button:hover {
    background-color: #4a9a4d;
    box-shadow: rgba(92, 172, 110, 0.4) 3px 5px 5px;
    top: -9px;
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 600px) {
    .url-result .btn-container button {
        height: 50px;
        width: 120px !important;
        background-color: #56b55f;
        color: white;
        padding: 10px 10px;
        border: none;
        border-radius: 25px;
        font-size: 18px;
        cursor: pointer;
        margin: 0 auto;
    }

    .url-result .code .code-item{
        width: 60px;
        height: 60px;
    }

    .url-result .notify span {
        font-size: 14px;
    }

    .url-container .url-input {
        width: 97%;
        height: 60px;
        padding: 0 20px;
        margin-bottom: 40px;
        font-size: 16px;
        border: 2px solid #52aa6c;
        border-radius: 15px;
    }

    .url-container .gen-code-btn {
        width: 160px;
        height: 50px;
        font-size: 20px;
    }
}
