/* General Modal Styles */
.ai-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    align-content: center;
}

/* Progress Box */
.ai-progress .pro-box {
    background: rgb(5 16 26);
    border-radius: 12px;
    padding: 32px 18px;
    max-width: 340px;
    margin: 60px auto;
}

.ai-progress .title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ai-progress .word {
    font-size: 20px;
    font-weight: bold;
}

.ai-progress .item {
    margin-bottom: 16px;
}

.ai-progress .i-title {
    font-size: 15px;
}

.layui-progress {
    background: #eee;
    border-radius: 8px;
    height: 16px;
}

.layui-progress-bar {
    width: 0%;
    background: #00dcf4;
    height: 100%;
    border-radius: 8px;
}

/* Result Box */
.ai-result {
    display: none;
}

.ai-result .result-box {
    background: rgb(5 16 26);
    border-radius: 12px;
    padding: 32px 18px;
    max-width: 340px;
    margin: 60px auto;
}

.ai-result .title {
    margin-bottom: 18px;
}

.ai-result .word {
    font-size: 18px;
    font-weight: bold;
}

#tips-code {
    color: #15a223;
}

.result-con .con {
    font-size: 15px;
    margin-bottom: 18px;
    color: #ffffff;
    text-align: center;
}

.result-con ul {
    padding-left: 0;
    list-style: none;
    margin-top: 8px;
    text-align: center;
}

.result-con .highlight-time {
    color: #e67e22; 
    font-weight: bold;
}

#chat-btn {
    background: #15a223;
    color: #fff;
    padding: 12px 0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    animation: breath 1.6s infinite;
}

/* Footer Styles */
.footer {
    width: 100%;
    max-width: 400px;
    margin: 32px auto 0 auto;
    padding: 0 16px 24px 16px;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.92rem;
    color: #b8c6e0;
}

.footer div {
    margin-bottom: 6px;
}

.footer a {
    color: #3eeaff;
    text-decoration: underline;
    margin: 0 8px;
}

/* Cookie Banner */
#cookie-banner {
    display: none; /* Initially hidden, controlled by JS */
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(20, 30, 60, 0.98);
    color: #fff;
    padding: 14px 12px;
    font-size: 0.98rem;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.13);
}

#cookie-banner span {
    flex: 1;
}

#cookie-accept {
    margin-left: 18px;
    padding: 7px 18px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(90deg, #1ec6e6 0%, #3eeaff 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
