/* =========================================
   PHOTO CALIBRATION (CROPPER.JS)
   ========================================= */
#tujuane-calibration-stage {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center to "Fit Screen" */
    min-height: 100vh;
    /* OCCUPY SCREEN */
    padding: 20px 0;
}

.calibration-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    /* Removed negative margin - using flex center instead */
}

.calibration-header {
    text-align: center;
    margin-bottom: 15px;
    /* Added back some breathing room */
}

.calibration-header h1.calibration-title {
    color: #00f3ff !important;
    /* Force Cyan even in Gold Theme */
    letter-spacing: 4px;
    font-size: 18px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.calibration-header p {
    color: #888;
    font-size: 11px;
    letter-spacing: 1px;
}

.cropper-wrapper {
    width: 100%;
    height: 380px;
    /* Slight increase for detail */
    max-height: 45vh;
    /* Cap it strictly to fit screen */
    background: #050505;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
}

.cropper-wrapper img {
    max-width: 100%;
    display: block;
}

/* CropperJS Customization */
.cropper-view-box,
.cropper-face {
    border-radius: 12px;
}

.cropper-line,
.cropper-point {
    background-color: #00f3ff;
}

.cropper-view-box {
    outline: 2px solid #00f3ff;
    outline-color: rgba(0, 243, 255, 0.75);
}

.calibration-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    /* Reduced from 12px */
    margin-top: 10px;
    /* Reduced from 15px */
    margin-bottom: 5px;
}

.cal-btn {
    display: none;
    /* Removed other buttons as requested */
}

.cal-btn.primary {
    display: flex;
    background: #00f3ff;
    color: #000;
    border: 1px solid #00f3ff;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    letter-spacing: 1px;
    flex: 1;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.cal-btn:hover {
    transform: translateY(-2px);
    border-color: #00f3ff;
}

.cal-close-btn {
    background: transparent;
    border: none;
    color: #646464;
    font-size: 13px;
    /* Slightly larger for easier tap */
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    padding: 10px;
}

.cal-close-btn:hover {
    color: #fff;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .calibration-container {
        padding: 15px;
    }

    .cal-btn {
        padding: 12px;
    }

    .cal-btn.primary {
        font-size: 12px;
    }
}