/* 原版样式 - 基于DaisyUI */
.box {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto !important;
}


.qrcode-container {
    position: relative;
    margin-top: 10px;
}

#qrcode {
    margin-top: 0;
    border: 0;
    width: 144px;
    height: 144px;
    cursor: pointer;
}

.qrcode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#cookie-result {
    max-height: 200px;
}

.divider {
    margin: 10px 0 !important;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 8px;
}

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

.status-message {
    min-height: 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
}

.status-message.success {
    color: #38a169;
}

.status-message.error {
    color: #e53e3e;
}

.status-message.info {
    color: #3182ce;
}

/* Toast样式 */
.toast-content {
    background: #2d3748;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 菜单项激活状态 */
.btn-scan.active {
    background-color: #007bff !important;
    color: white !important;
}
