/* diagnosis.css */

.camera-guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 确保在最上层 */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.camera-guide-overlay.show {
    opacity: 1;
}

.camera-guide-overlay.fade-out {
    opacity: 0;
}

.camera-guide-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.guide-header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.guide-rectangle-container {
    margin: 20px 0;
}

.guide-rectangle {
    position: relative;
    width: 85%;
    height: 0;
    padding-bottom: 55%;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto;
}

.guide-curve {
    position: absolute;
    bottom: 40%;
    left: 10%;
    right: 10%;
    height: 50%;
    border-bottom: 4px solid #FF4444;
    border-radius: 0 0 50% 50%;
}

.guide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.1em;
}

.guide-instructions ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    color: #555;
}

.guide-instructions li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.guide-instructions li::before {
    content: '\2022'; /* Bullet point */
    color: #FF4444;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.guide-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
}

.guide-button:hover {
    background-color: #218838;
} 