/* Imagilire Camera Interface CSS */

/* Camera Interface */
.camera-interface {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

/* Camera Video */
.camera-video {
    width: 100%;
    height: calc(100% - 120px);
    object-fit: cover;
}

/* Camera Controls */
.camera-controls {
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.camera-btn {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 30px;
    min-width: 120px;
    text-align: center;
}

/* Android Specific Controls */
.android-controls {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 10px;
    flex-wrap: wrap;
}

.camera-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 0 5px;
}

.camera-control-btn:hover,
.camera-control-btn:focus {
    background-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.camera-control-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Zoom Control */
.zoom-control {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    margin: 0 5px;
    max-width: 60%;
}

.zoom-control input[type="range"] {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
    margin: 0 5px;
}

.zoom-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.zoom-control input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .camera-video {
        height: calc(100% - 140px);
    }
    
    .camera-controls {
        padding: 8px;
    }
    
    .camera-btn {
        margin: 0 10px;
        padding: 15px 30px;
        font-size: 18px;
        border-radius: 30px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        border: 2px solid white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .camera-control-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .zoom-control {
        gap: 3px;
        margin: 0 3px;
        max-width: 50%;
    }
    
    /* Vertical Layout for Small Screens */
    .android-controls {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    /* Main Camera Controls */
    .main-camera-controls {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
}
