body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.container {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.container.hidden {
    display: none;
}

.search-container {
    width: 100%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.search-input-wrapper {
    margin-bottom: 15px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: white;
    font-size: 16px;
    color: #000;
    box-sizing: border-box;
}

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

.search-button {
    width: 60%;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.search-button:hover {
    opacity: 0.8;
}

.search-button img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.result-box {
    width: 84%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    position: absolute;
    top: 67vw;
}

.result-box.hidden {
    display: none;
}

.company-name {
    font-weight: bold;
    color: #0063AB;
    font-size: 18px;
    margin-bottom: 3px;
}

.certified-text {
    color: #0063AB;
    font-size: 16px;
    margin-bottom: 3px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #0063AB;
    margin: 15px 0;
}

.certificate-number {
    font-size: 16px;
    color: #333;
}

.no-result img {
    max-width: 100%;
    border-radius: 15px;
}

/* 结果页面样式 */
.result-page {
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #0063AB;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    z-index: 100;
}

.back-button:hover {
    background-color: #00487D;
}

@media (max-width: 600px) {
    .result-box {
        padding: 20px;
    }
    
    .back-button {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
    }
}