/* Camera interface */
.camera-interface {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capture-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 3px solid #fff;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1001;
}

.capture-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.cancel-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1001;
}

.cancel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Image preview in chat */
.image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.camera-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    width: 100%;
}

.camera-prompt-text {
    flex-grow: 1;
    margin-right: 12px;
}

.camera-prompt-buttons {
    display: flex;
    gap: 8px;
}

.camera-prompt-button {
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.camera-prompt-button:hover {
    background-color: #2563eb;
}

.camera-prompt-button.decline {
    background-color: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.camera-prompt-button.decline:hover {
    background-color: rgba(59, 130, 246, 0.1);
}
